#include "net/proxy_resolution/network_delegate_error_observer.h"
#include <optional>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "net/base/net_errors.h"
#include "net/base/network_delegate_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
class TestNetworkDelegate : public NetworkDelegateImpl { … };
TEST(NetworkDelegateErrorObserverTest, CallOnThread) { … }
TEST(NetworkDelegateErrorObserverTest, NoDelegate) { … }
}
}