OLD | NEW |
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 CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ |
6 #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 class CommandLine; | |
11 class PrefProxyConfigTracker; | 10 class PrefProxyConfigTracker; |
12 class PrefService; | 11 class PrefService; |
13 | 12 |
| 13 namespace base { |
| 14 class CommandLine; |
| 15 } |
| 16 |
14 namespace net { | 17 namespace net { |
15 class NetLog; | 18 class NetLog; |
16 class NetworkDelegate; | 19 class NetworkDelegate; |
17 class ProxyConfigService; | 20 class ProxyConfigService; |
18 class ProxyService; | 21 class ProxyService; |
19 class URLRequestContext; | 22 class URLRequestContext; |
20 } | 23 } |
21 | 24 |
22 class ProxyServiceFactory { | 25 class ProxyServiceFactory { |
23 public: | 26 public: |
(...skipping 15 matching lines...) Expand all Loading... |
39 // (ChromeOS only). | 42 // (ChromeOS only). |
40 static PrefProxyConfigTracker* CreatePrefProxyConfigTrackerOfLocalState( | 43 static PrefProxyConfigTracker* CreatePrefProxyConfigTrackerOfLocalState( |
41 PrefService* local_state_prefs); | 44 PrefService* local_state_prefs); |
42 | 45 |
43 // Create a proxy service according to the options on command line. | 46 // Create a proxy service according to the options on command line. |
44 static net::ProxyService* CreateProxyService( | 47 static net::ProxyService* CreateProxyService( |
45 net::NetLog* net_log, | 48 net::NetLog* net_log, |
46 net::URLRequestContext* context, | 49 net::URLRequestContext* context, |
47 net::NetworkDelegate* network_delegate, | 50 net::NetworkDelegate* network_delegate, |
48 net::ProxyConfigService* proxy_config_service, | 51 net::ProxyConfigService* proxy_config_service, |
49 const CommandLine& command_line, | 52 const base::CommandLine& command_line, |
50 bool quick_check_enabled); | 53 bool quick_check_enabled); |
51 | 54 |
52 private: | 55 private: |
53 DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyServiceFactory); | 56 DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyServiceFactory); |
54 }; | 57 }; |
55 | 58 |
56 #endif // CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | 59 #endif // CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ |
OLD | NEW |