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

Unified Diff: components/metrics/metrics_reporting_scheduler.h

Issue 633373011: Histogram for recording actual log upload interval added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 6aa1f3914bc91bb065ee006beb1da48f1ad9b79c..3c0b7cc7d40cb017f0474255ccbcbf8adc57d116 100644
--- a/components/metrics/metrics_reporting_scheduler.h
+++ b/components/metrics/metrics_reporting_scheduler.h
@@ -66,6 +66,10 @@ class MetricsReportingScheduler {
// upload.
base::TimeDelta upload_interval_;
+ // The tick count of the last time log upload has been finished and 0 if no
Alexei Svitkine (slow) 2014/10/15 20:44:19 Nit: "and 0" -> "and null"
gayane -on leave until 09-2017 2014/10/15 21:02:00 Done.
+ // upload has been done yet.
+ base::TimeTicks last_upload_finish_time_;
+
// Indicates that the scheduler is running (i.e., that Start has been called
// more recently than Stop).
bool running_;
« no previous file with comments | « no previous file | components/metrics/metrics_reporting_scheduler.cc » ('j') | components/metrics/metrics_reporting_scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698