| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROXY_SERVICE_H_ | 5 #ifndef NET_PROXY_PROXY_SERVICE_H_ |
| 6 #define NET_PROXY_PROXY_SERVICE_H_ | 6 #define NET_PROXY_PROXY_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 class GURL; | 29 class GURL; |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 class SingleThreadTaskRunner; | 32 class SingleThreadTaskRunner; |
| 33 class TimeDelta; | 33 class TimeDelta; |
| 34 } // namespace base | 34 } // namespace base |
| 35 | 35 |
| 36 namespace net { | 36 namespace net { |
| 37 | 37 |
| 38 class DhcpProxyScriptFetcher; | 38 class DhcpProxyScriptFetcher; |
| 39 class HostResolver; | |
| 40 class NetLog; | 39 class NetLog; |
| 41 class NetLogWithSource; | 40 class NetLogWithSource; |
| 42 class ProxyDelegate; | 41 class ProxyDelegate; |
| 43 class ProxyResolver; | 42 class ProxyResolver; |
| 44 class ProxyResolverFactory; | 43 class ProxyResolverFactory; |
| 45 class ProxyResolverScriptData; | 44 class ProxyResolverScriptData; |
| 46 class ProxyScriptDecider; | |
| 47 class ProxyScriptFetcher; | 45 class ProxyScriptFetcher; |
| 48 | 46 |
| 49 // This class can be used to resolve the proxy server to use when loading a | 47 // This class can be used to resolve the proxy server to use when loading a |
| 50 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy | 48 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy |
| 51 // resolution. See ProxyResolverV8 for example. | 49 // resolution. See ProxyResolverV8 for example. |
| 52 class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, | 50 class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, |
| 53 public NetworkChangeNotifier::DNSObserver, | 51 public NetworkChangeNotifier::DNSObserver, |
| 54 public ProxyConfigService::Observer, | 52 public ProxyConfigService::Observer, |
| 55 NON_EXPORTED_BASE(public base::NonThreadSafe) { | 53 NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 56 public: | 54 public: |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 | 479 |
| 482 // The method to use for sanitizing URLs seen by the proxy resolver. | 480 // The method to use for sanitizing URLs seen by the proxy resolver. |
| 483 SanitizeUrlPolicy sanitize_url_policy_; | 481 SanitizeUrlPolicy sanitize_url_policy_; |
| 484 | 482 |
| 485 DISALLOW_COPY_AND_ASSIGN(ProxyService); | 483 DISALLOW_COPY_AND_ASSIGN(ProxyService); |
| 486 }; | 484 }; |
| 487 | 485 |
| 488 } // namespace net | 486 } // namespace net |
| 489 | 487 |
| 490 #endif // NET_PROXY_PROXY_SERVICE_H_ | 488 #endif // NET_PROXY_PROXY_SERVICE_H_ |
| OLD | NEW |