| 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> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/synchronization/waitable_event.h" | 18 #include "base/synchronization/waitable_event.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "net/base/completion_callback.h" | 20 #include "net/base/completion_callback.h" |
| 21 #include "net/base/load_states.h" | 21 #include "net/base/load_states.h" |
| 22 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
| 23 #include "net/base/network_change_notifier.h" | 23 #include "net/base/network_change_notifier.h" |
| 24 #include "net/log/net_log.h" | |
| 25 #include "net/proxy/proxy_config_service.h" | 24 #include "net/proxy/proxy_config_service.h" |
| 26 #include "net/proxy/proxy_info.h" | 25 #include "net/proxy/proxy_info.h" |
| 27 #include "net/proxy/proxy_server.h" | 26 #include "net/proxy/proxy_server.h" |
| 28 #include "url/gurl.h" | 27 #include "url/gurl.h" |
| 29 | 28 |
| 30 class GURL; | 29 class GURL; |
| 31 | 30 |
| 32 namespace base { | 31 namespace base { |
| 33 class SingleThreadTaskRunner; | 32 class SingleThreadTaskRunner; |
| 34 class TimeDelta; | 33 class TimeDelta; |
| 35 } // namespace base | 34 } // namespace base |
| 36 | 35 |
| 37 namespace net { | 36 namespace net { |
| 38 | 37 |
| 39 class DhcpProxyScriptFetcher; | 38 class DhcpProxyScriptFetcher; |
| 40 class HostResolver; | 39 class HostResolver; |
| 40 class NetLog; |
| 41 class NetLogWithSource; |
| 41 class ProxyDelegate; | 42 class ProxyDelegate; |
| 42 class ProxyResolver; | 43 class ProxyResolver; |
| 43 class ProxyResolverFactory; | 44 class ProxyResolverFactory; |
| 44 class ProxyResolverScriptData; | 45 class ProxyResolverScriptData; |
| 45 class ProxyScriptDecider; | 46 class ProxyScriptDecider; |
| 46 class ProxyScriptFetcher; | 47 class ProxyScriptFetcher; |
| 47 | 48 |
| 48 // This class can be used to resolve the proxy server to use when loading a | 49 // This class can be used to resolve the proxy server to use when loading a |
| 49 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy | 50 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy |
| 50 // resolution. See ProxyResolverV8 for example. | 51 // resolution. See ProxyResolverV8 for example. |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 | 481 |
| 481 // The method to use for sanitizing URLs seen by the proxy resolver. | 482 // The method to use for sanitizing URLs seen by the proxy resolver. |
| 482 SanitizeUrlPolicy sanitize_url_policy_; | 483 SanitizeUrlPolicy sanitize_url_policy_; |
| 483 | 484 |
| 484 DISALLOW_COPY_AND_ASSIGN(ProxyService); | 485 DISALLOW_COPY_AND_ASSIGN(ProxyService); |
| 485 }; | 486 }; |
| 486 | 487 |
| 487 } // namespace net | 488 } // namespace net |
| 488 | 489 |
| 489 #endif // NET_PROXY_PROXY_SERVICE_H_ | 490 #endif // NET_PROXY_PROXY_SERVICE_H_ |
| OLD | NEW |