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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 506663003: Consolidates accessing and setting the UMA pref to be within metrics code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Always pass all params to setMetricsReportingCheckboxState, minor changes Created 6 years, 3 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:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 57cf2870374239a36267d9e56c954da44c72c716..0921a3ef8dcc013b485aec9ee2f9bce2bc6270df 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -34778,6 +34778,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="UMA.MetricsReporting.Toggle" enum="MetricsReportingChange">
+ <owner>asvitkine@chromium.org</owner>
+ <summary>
+ Logged when user successfully enables/disables MetricsReporting or when an
+ error occurs.
+ </summary>
+</histogram>
+
<histogram name="UMA.Perf.GetData" enum="GetPerfDataOutcome">
<owner>asvitkine@chromium.org</owner>
<summary>
@@ -45272,6 +45280,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="6" label="XHTML-MP document type"/>
</enum>
+<enum name="MetricsReportingChange" type="int">
+ <int value="0" label="Error">
+ Error occurred while updating MetricsReporting
+ </int>
+ <int value="1" label="Disabled successfully"/>
+ <int value="2" label="Enabled successfully"/>
+</enum>
+
<enum name="MigrationNssToPemNetworkTypes" type="int">
<int value="0" label="EAP"/>
<int value="1" label="OpenVPN"/>

Powered by Google App Engine
This is Rietveld 408576698