Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: net/proxy/proxy_script_decider.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/socket/client_socket_pool_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/socket/client_socket_pool_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698