Index: chrome/browser/metrics/metrics_service.h |
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h |
index 6acb6a2f375eb1bb1609ac3a6314817b4121131e..b2b4ac3dfc19b7fa04774b9f7495b7586142ce52 100644 |
--- a/chrome/browser/metrics/metrics_service.h |
+++ b/chrome/browser/metrics/metrics_service.h |
@@ -82,6 +82,10 @@ class MetricsService : public NotificationObserver, |
void StartRecordingOnly(); |
void Stop(); |
+ // Returns the client ID for this client, or the empty string if metrics |
+ // recording is not currently running. |
+ std::string GetClientId(); |
+ |
// At startup, prefs needs to be called with a list of all the pref names and |
// types we'll be using. |
static void RegisterPrefs(PrefService* local_state); |