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

Side by Side Diff: net/proxy/dhcp_proxy_script_adapter_fetcher_win.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
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_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ 5 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
6 #define NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 GURL pac_url_; 171 GURL pac_url_;
172 172
173 // Callback to let our client know we're done. Invalid in states 173 // Callback to let our client know we're done. Invalid in states
174 // START, FINISH and CANCEL. 174 // START, FINISH and CANCEL.
175 CompletionCallback callback_; 175 CompletionCallback callback_;
176 176
177 // Fetcher to retrieve PAC files once URL is known. 177 // Fetcher to retrieve PAC files once URL is known.
178 scoped_ptr<ProxyScriptFetcher> script_fetcher_; 178 scoped_ptr<ProxyScriptFetcher> script_fetcher_;
179 179
180 // Implements a timeout on the call to the Win32 DHCP API. 180 // Implements a timeout on the call to the Win32 DHCP API.
181 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; 181 base::OneShotTimer wait_timer_;
182 182
183 URLRequestContext* const url_request_context_; 183 URLRequestContext* const url_request_context_;
184 184
185 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); 185 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher);
186 }; 186 };
187 187
188 } // namespace net 188 } // namespace net
189 189
190 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ 190 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_manager.cc ('k') | net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698