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_SCRIPT_DECIDER_H_ | 5 #ifndef NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class Value; | 28 class Value; |
29 } | 29 } |
30 | 30 |
31 namespace net { | 31 namespace net { |
32 | 32 |
33 class DhcpProxyScriptFetcher; | 33 class DhcpProxyScriptFetcher; |
34 class NetLog; | 34 class NetLog; |
35 class NetLogCaptureMode; | 35 class NetLogCaptureMode; |
36 class NetLogParameter; | |
37 class ProxyResolver; | 36 class ProxyResolver; |
38 class ProxyScriptFetcher; | 37 class ProxyScriptFetcher; |
39 | 38 |
40 // ProxyScriptDecider is a helper class used by ProxyService to determine which | 39 // ProxyScriptDecider is a helper class used by ProxyService to determine which |
41 // PAC script to use given our proxy configuration. | 40 // PAC script to use given our proxy configuration. |
42 // | 41 // |
43 // This involves trying to use PAC scripts in this order: | 42 // This involves trying to use PAC scripts in this order: |
44 // | 43 // |
45 // (1) WPAD (DHCP) if auto-detect is on. | 44 // (1) WPAD (DHCP) if auto-detect is on. |
46 // (2) WPAD (DNS) if auto-detect is on. | 45 // (2) WPAD (DNS) if auto-detect is on. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 HostResolver* host_resolver_; | 206 HostResolver* host_resolver_; |
208 std::unique_ptr<HostResolver::Request> request_; | 207 std::unique_ptr<HostResolver::Request> request_; |
209 base::Time quick_check_start_time_; | 208 base::Time quick_check_start_time_; |
210 | 209 |
211 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); | 210 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); |
212 }; | 211 }; |
213 | 212 |
214 } // namespace net | 213 } // namespace net |
215 | 214 |
216 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 215 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
OLD | NEW |