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

Unified Diff: chrome/browser/extensions/api/dial/dial_service.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/dial/dial_service.h
diff --git a/chrome/browser/extensions/api/dial/dial_service.h b/chrome/browser/extensions/api/dial/dial_service.h
index 23ef5791be288f560d6aa4e79c0b03103e1939af..6f1e7e9c027d9f8a6eb333953de85dd8d4bca9f5 100644
--- a/chrome/browser/extensions/api/dial/dial_service.h
+++ b/chrome/browser/extensions/api/dial/dial_service.h
@@ -268,14 +268,14 @@ class DialServiceImpl : public DialService,
int max_requests_;
// Timer for finishing discovery.
- base::OneShotTimer<DialServiceImpl> finish_timer_;
+ base::OneShotTimer finish_timer_;
// The delay for |finish_timer_|; how long to wait for discovery to finish.
// Setting this to zero disables the timer.
base::TimeDelta finish_delay_;
// Timer for sending multiple requests at fixed intervals.
- base::RepeatingTimer<DialServiceImpl> request_timer_;
+ base::RepeatingTimer request_timer_;
// The delay for |request_timer_|; how long to wait between successive
// requests.

Powered by Google App Engine
This is Rietveld 408576698