| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "googleurl/src/gurl.h" | |
| 16 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
| 17 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
| 18 #include "net/base/net_log.h" | 17 #include "net/base/net_log.h" |
| 19 #include "net/proxy/proxy_config.h" | 18 #include "net/proxy/proxy_config.h" |
| 20 #include "net/proxy/proxy_resolver.h" | 19 #include "net/proxy/proxy_resolver.h" |
| 20 #include "url/gurl.h" |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 | 23 |
| 24 class DhcpProxyScriptFetcher; | 24 class DhcpProxyScriptFetcher; |
| 25 class NetLogParameter; | 25 class NetLogParameter; |
| 26 class ProxyResolver; | 26 class ProxyResolver; |
| 27 class ProxyScriptFetcher; | 27 class ProxyScriptFetcher; |
| 28 | 28 |
| 29 // ProxyScriptDecider is a helper class used by ProxyService to determine which | 29 // ProxyScriptDecider is a helper class used by ProxyService to determine which |
| 30 // PAC script to use given our proxy configuration. | 30 // PAC script to use given our proxy configuration. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 ProxyConfig effective_config_; | 175 ProxyConfig effective_config_; |
| 176 scoped_refptr<ProxyResolverScriptData> script_data_; | 176 scoped_refptr<ProxyResolverScriptData> script_data_; |
| 177 | 177 |
| 178 | 178 |
| 179 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); | 179 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace net | 182 } // namespace net |
| 183 | 183 |
| 184 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 184 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
| OLD | NEW |