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

Side by Side Diff: net/proxy/init_proxy_resolver.h

Issue 8525020: Cleanup: Remove unneeded forward declararations in net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_PROXY_INIT_PROXY_RESOLVER_H_ 5 #ifndef NET_PROXY_INIT_PROXY_RESOLVER_H_
6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_ 6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class DhcpProxyScriptFetcher; 22 class DhcpProxyScriptFetcher;
23 class NetLogParameter; 23 class NetLogParameter;
24 class ProxyConfig; 24 class ProxyConfig;
25 class ProxyResolver; 25 class ProxyResolver;
26 class ProxyScriptFetcher; 26 class ProxyScriptFetcher;
27 class URLRequestContext;
28 27
29 // InitProxyResolver is a helper class used by ProxyService to 28 // InitProxyResolver is a helper class used by ProxyService to
30 // initialize a ProxyResolver with the PAC script data specified 29 // initialize a ProxyResolver with the PAC script data specified
31 // by a particular ProxyConfig. 30 // by a particular ProxyConfig.
32 // 31 //
33 // This involves trying to use PAC scripts in this order: 32 // This involves trying to use PAC scripts in this order:
34 // 33 //
35 // (1) WPAD (DNS) if auto-detect is on. 34 // (1) WPAD (DNS) if auto-detect is on.
36 // (2) Custom PAC script if a URL was given. 35 // (2) Custom PAC script if a URL was given.
37 // 36 //
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 base::OneShotTimer<InitProxyResolver> wait_timer_; 157 base::OneShotTimer<InitProxyResolver> wait_timer_;
159 158
160 ProxyConfig* effective_config_; 159 ProxyConfig* effective_config_;
161 160
162 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver); 161 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver);
163 }; 162 };
164 163
165 } // namespace net 164 } // namespace net
166 165
167 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_ 166 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_
OLDNEW
« no previous file with comments | « net/proxy/dhcp_proxy_script_adapter_fetcher_win.h ('k') | net/proxy/proxy_script_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698