diff options
Diffstat (limited to 'chrome/browser/metrics/metrics_service.h')
-rw-r--r-- | chrome/browser/metrics/metrics_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h index 6acb6a2..b2b4ac3 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); |