diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 17:21:03 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 16:25:15 +0000 |
commit | c551f43206405019121bd2b2c93714319a0a3300 (patch) | |
tree | 1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/components/metrics/metrics_service_client.h | |
parent | 7961cea6d1041e3e454dae6a1da660b453efd238 (diff) | |
download | qtwebengine-chromium-c551f43206405019121bd2b2c93714319a0a3300.tar.gz |
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/metrics/metrics_service_client.h')
-rw-r--r-- | chromium/components/metrics/metrics_service_client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/components/metrics/metrics_service_client.h b/chromium/components/metrics/metrics_service_client.h index 91e11c71b95..9672225d7dd 100644 --- a/chromium/components/metrics/metrics_service_client.h +++ b/chromium/components/metrics/metrics_service_client.h @@ -99,6 +99,10 @@ class MetricsServiceClient { metrics::MetricsLogUploader::MetricServiceType service_type, const MetricsLogUploader::UploadCallback& on_upload_complete) = 0; + // Returns the interval between upload attempts. Checks if debugging flags + // have been set, otherwise defaults to GetStandardUploadInterval(). + base::TimeDelta GetUploadInterval(); + // Returns the standard interval between upload attempts. virtual base::TimeDelta GetStandardUploadInterval() = 0; @@ -146,7 +150,7 @@ class MetricsServiceClient { void UpdateRunningServices(); // Checks if the user has forced metrics collection on via the override flag. - bool IsMetricsReportingForceEnabled(); + bool IsMetricsReportingForceEnabled() const; private: base::Closure update_running_services_; |