Index: chrome/browser/metrics/metrics_service.h |
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h |
index f50934d0db5d53e72d624dcde35a735a02e18a23..543b80174b126b89048619a364acd0257e2300d1 100644 |
--- a/chrome/browser/metrics/metrics_service.h |
+++ b/chrome/browser/metrics/metrics_service.h |
@@ -368,6 +368,10 @@ class MetricsService |
base::TimeDelta* incremental_uptime, |
base::TimeDelta* uptime); |
+ // Reset the client id and low entropy source if the kMetricsResetMetricIDs |
+ // pref is true. |
+ void ResetMetricsIDsIfNecessary(); |
+ |
// Returns the low entropy source for this client. This is a random value |
// that is non-identifying amongst browser clients. This method will |
// generate the entropy source value if it has not been called before. |
@@ -523,6 +527,8 @@ class MetricsService |
content::NotificationRegistrar registrar_; |
+ bool metrics_ids_reset_; |
Alexei Svitkine (slow)
2014/03/28 17:20:26
Nit: I'd name it metrics_ids_reset_check_performed
jwd
2014/03/28 18:59:21
Done.
|
+ |
// Indicate whether recording and reporting are currently happening. |
// These should not be set directly, but by calling SetRecording and |
// SetReporting. |