OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_resolver_v8_tracing.h" | 5 #include "net/proxy/proxy_resolver_v8_tracing.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "base/synchronization/cancellation_flag.h" | 17 #include "base/synchronization/cancellation_flag.h" |
18 #include "base/synchronization/waitable_event.h" | 18 #include "base/synchronization/waitable_event.h" |
19 #include "base/thread_task_runner_handle.h" | |
20 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
21 #include "base/threading/thread_restrictions.h" | 20 #include "base/threading/thread_restrictions.h" |
| 21 #include "base/threading/thread_task_runner_handle.h" |
22 #include "base/trace_event/trace_event.h" | 22 #include "base/trace_event/trace_event.h" |
23 #include "net/base/address_list.h" | 23 #include "net/base/address_list.h" |
24 #include "net/base/net_errors.h" | 24 #include "net/base/net_errors.h" |
25 #include "net/base/network_interfaces.h" | 25 #include "net/base/network_interfaces.h" |
26 #include "net/dns/host_resolver.h" | 26 #include "net/dns/host_resolver.h" |
27 #include "net/proxy/proxy_info.h" | 27 #include "net/proxy/proxy_info.h" |
28 #include "net/proxy/proxy_resolver_error_observer.h" | 28 #include "net/proxy/proxy_resolver_error_observer.h" |
29 #include "net/proxy/proxy_resolver_v8.h" | 29 #include "net/proxy/proxy_resolver_v8.h" |
30 | 30 |
31 // The intent of this class is explained in the design document: | 31 // The intent of this class is explained in the design document: |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1096 | 1096 |
1097 } // namespace | 1097 } // namespace |
1098 | 1098 |
1099 // static | 1099 // static |
1100 std::unique_ptr<ProxyResolverV8TracingFactory> | 1100 std::unique_ptr<ProxyResolverV8TracingFactory> |
1101 ProxyResolverV8TracingFactory::Create() { | 1101 ProxyResolverV8TracingFactory::Create() { |
1102 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl()); | 1102 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl()); |
1103 } | 1103 } |
1104 | 1104 |
1105 } // namespace net | 1105 } // namespace net |
OLD | NEW |