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

Unified Diff: components/metrics/metrics_state_manager.h

Issue 1284433003: [UMA, Cleanup] Deprecate the UMA.GeneratedLowEntropySource histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update enum labels in histograms.xml Created 5 years, 4 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 | « no previous file | components/metrics/metrics_state_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_state_manager.h
diff --git a/components/metrics/metrics_state_manager.h b/components/metrics/metrics_state_manager.h
index 041831c52fbbf0587b51427d210ef8e962909980..fd80c235208b1c446d27e8753c6d33aa7d2a4e1d 100644
--- a/components/metrics/metrics_state_manager.h
+++ b/components/metrics/metrics_state_manager.h
@@ -117,6 +117,10 @@ class MetricsStateManager {
// generate the entropy source value if it has not been called before.
int GetLowEntropySource();
+ // Generates the low entropy source value for this client if it is not
+ // already set.
+ void UpdateLowEntropySource();
+
// Updates |entropy_source_returned_| with |type| iff the current value is
// ENTROPY_SOURCE_NONE and logs the new value in a histogram.
void UpdateEntropySourceReturnedValue(EntropySourceType type);
« no previous file with comments | « no previous file | components/metrics/metrics_state_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698