Index: components/metrics/metrics_service_client.h |
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h |
index fa31c5e97998c366dd5e090db8835130f37126a7..1b481f998830ad4fdf746adfde3213e8e0107ccd 100644 |
--- a/components/metrics/metrics_service_client.h |
+++ b/components/metrics/metrics_service_client.h |
@@ -12,6 +12,7 @@ |
#include "base/callback_forward.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
+#include "base/time/time.h" |
#include "components/metrics/proto/system_profile.pb.h" |
namespace metrics { |
@@ -66,6 +67,9 @@ class MetricsServiceClient { |
virtual scoped_ptr<MetricsLogUploader> CreateUploader( |
const base::Callback<void(int)>& on_upload_complete) = 0; |
+ // Returns the standard interval between upload attempts. |
+ virtual base::TimeDelta GetStandardUploadInterval() = 0; |
+ |
// Returns the name of a key under HKEY_CURRENT_USER that can be used to store |
// backups of metrics data. Unused except on Windows. |
virtual base::string16 GetRegistryBackupKey(); |