Index: components/metrics/metrics_service_client.h |
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h |
index d8e2c15893ee5678d79d8e4ad05ab0400671b07a..5ff06d206200883149babea3b2b42259f9c38c5d 100644 |
--- a/components/metrics/metrics_service_client.h |
+++ b/components/metrics/metrics_service_client.h |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/callback_forward.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/strings/string16.h" |
#include "components/metrics/proto/system_profile.pb.h" |
namespace metrics { |
@@ -60,6 +61,12 @@ class MetricsServiceClient { |
const std::string& server_url, |
const std::string& mime_type, |
const base::Callback<void(int)>& on_upload_complete) = 0; |
+ |
+#if defined(OS_WIN) |
+ // Returns the name of a key under HKEY_CURRENT_USER that can be used to store |
+ // backups of metrics data. |
+ virtual base::string16 GetRegistryBackupKey() = 0; |
+#endif |
}; |
} // namespace metrics |