Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | |
| 6 #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 class CommandLine; | |
| 10 class MessageLoop; | |
| 11 class PrefProxyConfigTracker; | |
| 12 | |
| 13 namespace net { | |
| 14 class NetLog; | |
|
willchan no longer on Chromium
2011/02/16 20:02:27
Don't indent.
http://google-styleguide.googlecode.
battre
2011/02/21 17:27:57
Done.
| |
| 15 class ProxyConfigService; | |
| 16 class ProxyService; | |
| 17 class URLRequestContext; | |
| 18 } // net | |
| 19 | |
| 20 class ProxyServiceFactory { | |
| 21 public: | |
| 22 // Creates a ProxyConfigService that delivers the system preferences | |
| 23 // (or the respective ChromeOS equivalent). | |
| 24 // |io_message_loop| and |file_message_loop| may be NULL in ChromeOS. | |
| 25 static net::ProxyConfigService* CreateProxyConfigService( | |
| 26 MessageLoop* io_message_loop, | |
| 27 MessageLoop* file_message_loop, | |
| 28 PrefProxyConfigTracker* proxy_config_tracker); | |
| 29 | |
| 30 // Create a proxy service according to the options on command line. | |
| 31 static net::ProxyService* CreateProxyService( | |
| 32 net::NetLog* net_log, | |
| 33 net::URLRequestContext* context, | |
| 34 net::ProxyConfigService* proxy_config_service, | |
| 35 const CommandLine& command_line); | |
| 36 }; | |
|
willchan no longer on Chromium
2011/02/16 20:02:27
Use DISALLOW_IMPLICIT_CONSTRUCTORS to prevent this
battre
2011/02/21 17:27:57
Done.
| |
| 37 | |
| 38 #endif // CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ | |
| OLD | NEW |