Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: net/proxy/proxy_resolver_v8_tracing.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/threading/thread.h" 19 #include "base/threading/thread.h"
20 #include "base/threading/thread_restrictions.h" 20 #include "base/threading/thread_restrictions.h"
21 #include "base/threading/thread_task_runner_handle.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/log/net_log_with_source.h"
27 #include "net/proxy/proxy_info.h" 28 #include "net/proxy/proxy_info.h"
28 #include "net/proxy/proxy_resolver_error_observer.h" 29 #include "net/proxy/proxy_resolver_error_observer.h"
29 #include "net/proxy/proxy_resolver_v8.h" 30 #include "net/proxy/proxy_resolver_v8.h"
30 31
31 // The intent of this class is explained in the design document: 32 // The intent of this class is explained in the design document:
32 // https://docs.google.com/a/chromium.org/document/d/16Ij5OcVnR3s0MH4Z5XkhI9VTPo MJdaBn9rKreAmGOdE/edit 33 // https://docs.google.com/a/chromium.org/document/d/16Ij5OcVnR3s0MH4Z5XkhI9VTPo MJdaBn9rKreAmGOdE/edit
33 // 34 //
34 // In a nutshell, PAC scripts are Javascript programs and may depend on 35 // In a nutshell, PAC scripts are Javascript programs and may depend on
35 // network I/O, by calling functions like dnsResolve(). 36 // network I/O, by calling functions like dnsResolve().
36 // 37 //
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 1094
1094 } // namespace 1095 } // namespace
1095 1096
1096 // static 1097 // static
1097 std::unique_ptr<ProxyResolverV8TracingFactory> 1098 std::unique_ptr<ProxyResolverV8TracingFactory>
1098 ProxyResolverV8TracingFactory::Create() { 1099 ProxyResolverV8TracingFactory::Create() {
1099 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl()); 1100 return base::WrapUnique(new ProxyResolverV8TracingFactoryImpl());
1100 } 1101 }
1101 1102
1102 } // namespace net 1103 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698