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

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

Issue 10024019: Remove unnecessary references to URLRequestContext. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher.h ('k') | net/proxy/dhcp_proxy_script_fetcher_win.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_FETCHER_FACTORY_H_ 5 #ifndef NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_
6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ 6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/url_request/url_request_context.h"
14 13
15 namespace net { 14 namespace net {
16 15
17 class DhcpProxyScriptFetcher; 16 class DhcpProxyScriptFetcher;
17 class URLRequestContext;
18 18
19 // Factory object for creating the appropriate concrete base class of 19 // Factory object for creating the appropriate concrete base class of
20 // DhcpProxyScriptFetcher for your operating system and settings. 20 // DhcpProxyScriptFetcher for your operating system and settings.
21 // 21 //
22 // You might think we could just implement a DHCP client at the protocol 22 // You might think we could just implement a DHCP client at the protocol
23 // level and have cross-platform support for retrieving PAC configuration 23 // level and have cross-platform support for retrieving PAC configuration
24 // from DHCP, but unfortunately the DHCP protocol assumes there is a single 24 // from DHCP, but unfortunately the DHCP protocol assumes there is a single
25 // client per machine (specifically per network interface card), and there 25 // client per machine (specifically per network interface card), and there
26 // is an implicit state machine between the client and server, so adding a 26 // is an implicit state machine between the client and server, so adding a
27 // second client to the machine would not be advisable (see e.g. some 27 // second client to the machine would not be advisable (see e.g. some
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 private: 61 private:
62 bool feature_enabled_; 62 bool feature_enabled_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(DhcpProxyScriptFetcherFactory); 64 DISALLOW_COPY_AND_ASSIGN(DhcpProxyScriptFetcherFactory);
65 }; 65 };
66 66
67 } // namespace net 67 } // namespace net
68 68
69 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ 69 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_
OLDNEW
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher.h ('k') | net/proxy/dhcp_proxy_script_fetcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698