#include "services/network/proxy_service_mojo.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/network_delegate.h"
#include "net/proxy_resolution/configured_proxy_resolution_service.h"
#include "net/proxy_resolution/network_delegate_error_observer.h"
#include "net/proxy_resolution/proxy_resolver_factory.h"
#include "services/network/proxy_resolver_factory_mojo.h"
namespace network {
std::unique_ptr<net::ConfiguredProxyResolutionService>
CreateConfiguredProxyResolutionServiceUsingMojoFactory(
mojo::PendingRemote<proxy_resolver::mojom::ProxyResolverFactory>
mojo_proxy_factory,
std::unique_ptr<net::ProxyConfigService> proxy_config_service,
std::unique_ptr<net::PacFileFetcher> pac_file_fetcher,
std::unique_ptr<net::DhcpPacFileFetcher> dhcp_pac_file_fetcher,
net::HostResolver* host_resolver,
net::NetLog* net_log,
bool pac_quick_check_enabled,
net::NetworkDelegate* network_delegate) { … }
}