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

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: Rebase. 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/chrome_tests_unit.gypi ('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..1002fd968d206f9855d6fd97962adb6328aa0d9e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13458,6 +13458,33 @@ 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 preference whose last value is unknown when a profile is loaded.
+ </summary>
+</histogram>
+
+<histogram name="Settings.TrackedPreferenceRemoved" enum="TrackedPreference">
+ <summary>
+ The id of a preference with a last known value that isn't present when a
+ profile is loaded.
Mark P 2013/08/20 14:56:18 How is "not present" different from "unknown"? No
bbudge 2013/08/20 18:17:50 I think the name is good, so rewrote the comment.
+ </summary>
+</histogram>
+
+<histogram name="Settings.TrackedPreferencesChecked">
+ <summary>
+ The number of times preferences are checked when a profile is loaded.
Mark P 2013/08/20 14:56:18 Can we rephrase this to be analogous to the other
bbudge 2013/08/20 18:17:50 This enum is a boolean, to give us a normalizing v
+ </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 +22486,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/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698