Index: chrome/browser/metrics/metrics_service.h |
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h |
index 90e0ea5ec2cce2de4f8a59fe04821a906c1351da..53ab4b9de6fc4cad6d836a4ea0cb60a70f0460ac 100644 |
--- a/chrome/browser/metrics/metrics_service.h |
+++ b/chrome/browser/metrics/metrics_service.h |
@@ -87,10 +87,13 @@ class MetricsService |
std::string GetClientId(); |
// Returns the preferred entropy source used to seed persistent activities |
- // based on whether or not metrics reporting is permitted on this client. If |
- // it is permitted, this returns the client ID concatenated with the low |
- // entropy source. Otherwise, this just returns the low entropy source. |
- std::string GetEntropySource(); |
+ // based on whether or not metrics reporting will permitted on this client. |
+ // The caller must determine if metrics reorting will be enabled for this |
Ilya Sherman
2012/08/09 16:47:29
nit: "reorting" -> "reporting"
SteveT
2012/08/09 17:18:30
Done.
|
+ // client and pass that state in as |reporting_will_be_enabled|. If |
+ // |reporting_will_be_enabled| is true, this method returns the client ID |
+ // concatenated with the low entropy source. Otherwise, this method just |
+ // returns the low entropy source. |
+ std::string GetEntropySource(bool reporting_will_be_enabled); |
// Force the client ID to be generated. This is useful in case it's needed |
// before recording. |