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

Unified Diff: components/metrics/metrics_service_client.h

Issue 558683002: Extract the handling of the clean exit beacon from MetricsService. The extracted implementation sup… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments. Created 6 years, 3 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
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..465cb01fe67dc80c757c9e702c2ade196131303a 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,10 @@ class MetricsServiceClient {
const std::string& server_url,
const std::string& mime_type,
const base::Callback<void(int)>& on_upload_complete) = 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();
};
} // namespace metrics
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698