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

Unified Diff: components/variations/variations_request_scheduler.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: components/variations/variations_request_scheduler.h
diff --git a/components/variations/variations_request_scheduler.h b/components/variations/variations_request_scheduler.h
index e56437590b244e0e50f61c087a7765bd8c341810..c36401048577da66690a7162b7fd83b57fd2711d 100644
--- a/components/variations/variations_request_scheduler.h
+++ b/components/variations/variations_request_scheduler.h
@@ -57,10 +57,10 @@ class VariationsRequestScheduler {
// The timer used to repeatedly ping the server. Keep this as an instance
// member so if VariationsRequestScheduler goes out of scope, the timer is
// automatically canceled.
- base::RepeatingTimer<VariationsRequestScheduler> timer_;
+ base::RepeatingTimer timer_;
// A one-shot timer used for scheduling out-of-band fetches.
- base::OneShotTimer<VariationsRequestScheduler> one_shot_timer_;
+ base::OneShotTimer one_shot_timer_;
DISALLOW_COPY_AND_ASSIGN(VariationsRequestScheduler);
};
« no previous file with comments | « components/update_client/background_downloader_win.cc ('k') | components/variations/variations_request_scheduler_mobile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698