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

Unified Diff: net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win.h ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc b/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
index 59927dc2cb6d568ee911532beb93584d905bac01..a1a23821a6b4fe0c18d55bfc1e39b91329245a38 100644
--- a/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
+++ b/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
@@ -112,8 +112,8 @@ class RealFetchTester {
scoped_ptr<DhcpProxyScriptFetcherWin> fetcher_;
bool finished_;
base::string16 pac_text_;
- base::OneShotTimer<RealFetchTester> timeout_;
- base::OneShotTimer<RealFetchTester> cancel_timer_;
+ base::OneShotTimer timeout_;
+ base::OneShotTimer cancel_timer_;
bool on_completion_is_error_;
};
@@ -260,7 +260,7 @@ class DummyDhcpProxyScriptAdapterFetcher
base::string16 pac_script_;
int fetch_delay_ms_;
CompletionCallback callback_;
- base::OneShotTimer<DummyDhcpProxyScriptAdapterFetcher> timer_;
+ base::OneShotTimer timer_;
};
class MockDhcpProxyScriptFetcherWin : public DhcpProxyScriptFetcherWin {
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win.h ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698