// where the server is having issues.
void BackOffUploadInterval();
+ // Returns upload interval based on the system and experiment that the user is
+ // assigned to.
+ // TODO(gayane): Only for experimenting with upload interval for Android
+ // (bug: 17391128). Should be removed once the experiments are done.
+ base::TimeDelta GetStandardUploadInterval();
+
// The MetricsService method to call when uploading should happen.
const base::Closure upload_callback_;
// upload.
base::TimeDelta upload_interval_;
+ // The tick count of the last time log upload has been finished and null if no
+ // 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_;