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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 22676002: Add UMA to report Preferences File Corruption (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO for Device ID API use. Created 7 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:
Download patch
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e8631e7b587db93a09e4ae84afad03f8bd0eaa0d..474e3041a3e377122b71d6f011369a1ee49a4673 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13458,6 +13458,37 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Settings.TrackedPreferenceChanged" enum="TrackedPreference">
+ <summary>
+ The id of a preference whose value has changed outside of Chrome when a
+ profile is loaded.
+ </summary>
+</histogram>
+
+<histogram name="Settings.TrackedPreferenceInitialized"
+ enum="TrackedPreference">
+ <summary>
+ The id of a tracked preference that is initialized when a profile is loaded.
+ This may be the first time the pref is tracked, or the hashed value may have
+ been removed from local state.
Mark P 2013/08/20 19:26:25 This implies that every time something is emitted
bbudge 2013/08/20 20:43:34 "removed" here means the hashed value from local s
+ </summary>
+</histogram>
+
+<histogram name="Settings.TrackedPreferenceRemoved" enum="TrackedPreference">
+ <summary>
+ The id of a preference that has been removed outside of Chrome when a
Mark P 2013/08/20 19:26:25 please be consistent and either use "tracked prefe
bbudge 2013/08/20 20:43:34 Done. Note that I've changed this to Settings.Trac
+ profile is loaded.
+ </summary>
+</histogram>
+
+<histogram name="Settings.TrackedPreferencesChecked">
+ <summary>
+ The number of times all tracked preferences are checked when a profile is
Mark P 2013/08/20 19:26:25 nit: does "all" add anything here? Is it possible
bbudge 2013/08/20 20:43:34 Actually, this histogram isn't quite right, since
+ loaded. This is used to normalize the Settings.TrackedPreference* histogram
+ samples.
Mark P 2013/08/20 19:26:25 nit: histogram samples -> histograms
bbudge 2013/08/20 20:43:34 Done.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.CheckCRCResult" enum="CheckCRCResult">
<summary>
Whether or not the CRC was checked at the moment when the last reference to
@@ -22459,6 +22490,15 @@ other types of suffix sets.
</int>
</enum>
+<enum name="TrackedPreference" type="int">
+ <int value="0" label="prefs::kShowHomeButton"/>
+ <int value="1" label="prefs::kHomePageIsNewTabPage"/>
+ <int value="2" label="prefs::kHomePage"/>
+ <int value="3" label="prefs::kRestoreOnStartup"/>
+ <int value="4" label="prefs::kURLsToRestoreOnStartup"/>
+ <int value="5" label="extensions::ExtensionPrefs::kExtensionsPref"/>
+</enum>
+
<enum name="TranslateError" type="int">
<int value="0" label="No error"/>
<int value="1" label="Network error"/>
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698