| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/proxy/proxy_service_mojo.h" | 5 #include "net/proxy/proxy_service_mojo.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
| 13 #include "net/dns/mojo_host_resolver_impl.h" | 13 #include "net/dns/mojo_host_resolver_impl.h" |
| 14 #include "net/interfaces/proxy_resolver_service.mojom.h" | 14 #include "net/interfaces/proxy_resolver_service.mojom.h" |
| 15 #include "net/proxy/in_process_mojo_proxy_resolver_factory.h" | 15 #include "net/proxy/in_process_mojo_proxy_resolver_factory.h" |
| 16 #include "net/proxy/mojo_proxy_resolver_factory.h" | 16 #include "net/proxy/mojo_proxy_resolver_factory.h" |
| 17 #include "net/proxy/mojo_proxy_resolver_impl.h" | 17 #include "net/proxy/mojo_proxy_resolver_impl.h" |
| 18 #include "net/proxy/network_delegate_error_observer.h" | 18 #include "net/proxy/network_delegate_error_observer.h" |
| 19 #include "net/proxy/proxy_resolver_factory.h" | 19 #include "net/proxy/proxy_resolver_factory.h" |
| 20 #include "net/proxy/proxy_resolver_factory_mojo.h" | 20 #include "net/proxy/proxy_resolver_factory_mojo.h" |
| 21 #include "net/proxy/proxy_resolver_v8_tracing.h" | 21 #include "net/proxy/proxy_resolver_v8_tracing.h" |
| 22 #include "net/proxy/proxy_service.h" | 22 #include "net/proxy/proxy_service.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 NetLog* net_log, | 60 NetLog* net_log, |
| 61 NetworkDelegate* network_delegate) { | 61 NetworkDelegate* network_delegate) { |
| 62 return CreateProxyServiceUsingMojoFactory( | 62 return CreateProxyServiceUsingMojoFactory( |
| 63 InProcessMojoProxyResolverFactory::GetInstance(), | 63 InProcessMojoProxyResolverFactory::GetInstance(), |
| 64 std::move(proxy_config_service), proxy_script_fetcher, | 64 std::move(proxy_config_service), proxy_script_fetcher, |
| 65 std::move(dhcp_proxy_script_fetcher), host_resolver, net_log, | 65 std::move(dhcp_proxy_script_fetcher), host_resolver, net_log, |
| 66 network_delegate); | 66 network_delegate); |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace net | 69 } // namespace net |
| OLD | NEW |