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

Unified Diff: components/metrics/metrics_reporting_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/metrics/metrics_reporting_scheduler.h
diff --git a/components/metrics/metrics_reporting_scheduler.h b/components/metrics/metrics_reporting_scheduler.h
index 4d6102a14e7dfa815df518f323c70fb2af4853a8..1b7190c1005bbc3bfe7422c37b05286a80a80460 100644
--- a/components/metrics/metrics_reporting_scheduler.h
+++ b/components/metrics/metrics_reporting_scheduler.h
@@ -64,7 +64,7 @@ class MetricsReportingScheduler {
// The MetricsService method to call when uploading should happen.
const base::Closure upload_callback_;
- base::OneShotTimer<MetricsReportingScheduler> upload_timer_;
+ base::OneShotTimer upload_timer_;
// The interval between being told an upload is done and starting the next
// upload.
« no previous file with comments | « components/invalidation/impl/ticl_invalidation_service.h ('k') | components/omnibox/browser/autocomplete_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698