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 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 bool have_custom_pac_url_; | 178 bool have_custom_pac_url_; |
179 | 179 |
180 PacSourceList pac_sources_; | 180 PacSourceList pac_sources_; |
181 State next_state_; | 181 State next_state_; |
182 | 182 |
183 BoundNetLog net_log_; | 183 BoundNetLog net_log_; |
184 | 184 |
185 bool fetch_pac_bytes_; | 185 bool fetch_pac_bytes_; |
186 | 186 |
187 base::TimeDelta wait_delay_; | 187 base::TimeDelta wait_delay_; |
188 base::OneShotTimer<ProxyScriptDecider> wait_timer_; | 188 base::OneShotTimer wait_timer_; |
189 | 189 |
190 // Whether to do DNS quick check | 190 // Whether to do DNS quick check |
191 bool quick_check_enabled_; | 191 bool quick_check_enabled_; |
192 | 192 |
193 // Results. | 193 // Results. |
194 ProxyConfig effective_config_; | 194 ProxyConfig effective_config_; |
195 scoped_refptr<ProxyResolverScriptData> script_data_; | 195 scoped_refptr<ProxyResolverScriptData> script_data_; |
196 | 196 |
197 AddressList wpad_addresses_; | 197 AddressList wpad_addresses_; |
198 base::OneShotTimer<ProxyScriptDecider> quick_check_timer_; | 198 base::OneShotTimer quick_check_timer_; |
199 scoped_ptr<SingleRequestHostResolver> host_resolver_; | 199 scoped_ptr<SingleRequestHostResolver> host_resolver_; |
200 base::Time quick_check_start_time_; | 200 base::Time quick_check_start_time_; |
201 | 201 |
202 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); | 202 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); |
203 }; | 203 }; |
204 | 204 |
205 } // namespace net | 205 } // namespace net |
206 | 206 |
207 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 207 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
OLD | NEW |