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

Side by Side Diff: net/proxy/dhcp_proxy_script_adapter_fetcher_win.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
« no previous file with comments | « net/http/http_util.h ('k') | net/proxy/init_proxy_resolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DHCP_SCRIPT_ADAPTER_FETCHER_WIN_H_ 5 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
6 #define NET_PROXY_DHCP_SCRIPT_ADAPTER_FETCHER_WIN_H_ 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
12 #include "base/string16.h" 14 #include "base/string16.h"
13 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
14 #include "base/timer.h" 16 #include "base/timer.h"
15 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
16 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
17 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
18 20
19 namespace base {
20 class MessageLoopProxy;
21 }
22
23 namespace net { 21 namespace net {
24 22
25 class ProxyScriptFetcher; 23 class ProxyScriptFetcher;
26 class URLRequestContext; 24 class URLRequestContext;
27 25
28 // For a given adapter, this class takes care of first doing a DHCP lookup 26 // For a given adapter, this class takes care of first doing a DHCP lookup
29 // to get the PAC URL, then if there is one, trying to fetch it. 27 // to get the PAC URL, then if there is one, trying to fetch it.
30 class NET_EXPORT_PRIVATE DhcpProxyScriptAdapterFetcher 28 class NET_EXPORT_PRIVATE DhcpProxyScriptAdapterFetcher
31 : public base::SupportsWeakPtr<DhcpProxyScriptAdapterFetcher>, 29 : public base::SupportsWeakPtr<DhcpProxyScriptAdapterFetcher>,
32 NON_EXPORTED_BASE(public base::NonThreadSafe) { 30 NON_EXPORTED_BASE(public base::NonThreadSafe) {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Implements a timeout on the call to the Win32 DHCP API. 171 // Implements a timeout on the call to the Win32 DHCP API.
174 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; 172 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_;
175 173
176 scoped_refptr<URLRequestContext> url_request_context_; 174 scoped_refptr<URLRequestContext> url_request_context_;
177 175
178 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); 176 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher);
179 }; 177 };
180 178
181 } // namespace net 179 } // namespace net
182 180
183 #endif // NET_PROXY_DHCP_SCRIPT_ADAPTER_FETCHER_WIN_H_ 181 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
OLDNEW
« no previous file with comments | « net/http/http_util.h ('k') | net/proxy/init_proxy_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698