#include "services/network/url_request_context_builder_mojo.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/task_environment.h"
#include "build/chromeos_buildflags.h"
#include "net/base/host_port_pair.h"
#include "net/proxy_resolution/proxy_config.h"
#include "net/proxy_resolution/proxy_config_service_fixed.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "net/test/embedded_test_server/simple_connection_listener.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_test_util.h"
#include "services/network/test_mojo_proxy_resolver_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "url/gurl.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "services/network/mock_mojo_dhcp_wpad_url_client.h"
#endif
namespace network {
namespace {
const char kPacPath[] = …;
std::unique_ptr<net::test_server::HttpResponse> HandlePacRequest(
const net::test_server::HttpRequest& request) { … }
class URLRequestContextBuilderMojoTest : public PlatformTest { … };
TEST_F(URLRequestContextBuilderMojoTest, MojoProxyResolver) { … }
TEST_F(URLRequestContextBuilderMojoTest, ShutdownWithHungRequest) { … }
}
}