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

Unified Diff: net/base/network_change_notifier_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: . 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
Index: net/base/network_change_notifier_win.h
diff --git a/net/base/network_change_notifier_win.h b/net/base/network_change_notifier_win.h
index 04615a73a731c09a0fabf983db973fcc4fe38aaa..113de9f9767a639671b525319f238850024a03c3 100644
--- a/net/base/network_change_notifier_win.h
+++ b/net/base/network_change_notifier_win.h
@@ -90,7 +90,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
base::win::ObjectWatcher addr_watcher_;
OVERLAPPED addr_overlapped_;
- base::OneShotTimer<NetworkChangeNotifierWin> timer_;
+ base::OneShotTimer timer_;
// Number of times WatchForAddressChange has failed in a row.
int sequential_failures_;

Powered by Google App Engine
This is Rietveld 408576698