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

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

Issue 910093003: Reset the GCM store to recover from it when it is busted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more feedback Created 5 years, 10 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 | « google_apis/gcm/engine/gcm_store_impl.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 701e8de29afd11d50ea865bd94babdb51580a509..46381961eca67ca0fd435d6be7e6772e4b9b5b66 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9903,7 +9903,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="GCM.LoadStatus" enum="GCMLoadStatus">
+ <owner>jianli@chromium.org</owner>
+ <summary>Status code of loading from the persistent GCM store.</summary>
+</histogram>
+
<histogram name="GCM.LoadSucceeded" enum="BooleanSuccess">
+ <obsolete>
+ Deprecated as of 2/2015.
+ </obsolete>
<owner>zea@chromium.org</owner>
<summary>
Success indicates successfully loading an initialized persistent GCM store
@@ -9975,6 +9983,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>Number of sender IDs specified in a registration request.</summary>
</histogram>
+<histogram name="GCM.ResetStore" enum="GCMResetStoreError">
+ <owner>jianli@chromium.org</owner>
+ <summary>
+ Reports the problem encountered when resetting the GCM store.
+ </summary>
+</histogram>
+
<histogram name="GCM.RestoredIncomingMessages">
<owner>zea@chromium.org</owner>
<summary>
@@ -49046,6 +49061,20 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="HTTP Post failed"/>
</enum>
+<enum name="GCMLoadStatus" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="Reloading open store"/>
+ <int value="2" label="Store open failed"/>
+ <int value="3" label="Loading device credentials failed"/>
+ <int value="4" label="Loading registrations failed"/>
+ <int value="5" label="Loading incoming messages failed"/>
+ <int value="6" label="Loading outgoing messages failed"/>
+ <int value="7" label="Loading last checkin info failed"/>
+ <int value="8" label="Loading gservice settings failed"/>
+ <int value="9" label="Loading account mapping failed"/>
+ <int value="10" label="Loading last token time failed"/>
+</enum>
+
<enum name="GCMOutgoingMessageTTLCategory" type="int">
<int value="0" label="Zero"/>
<int value="1" label="Less than or equal to 1 minute"/>
@@ -49069,6 +49098,11 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="9" label="Reached maximum number of retries"/>
</enum>
+<enum name="GCMResetStoreError" type="int">
+ <int value="0" label="Destroying store failed"/>
+ <int value="1" label="Infinite store reset"/>
+</enum>
+
<enum name="GCMUnregistrationRequestStatus" type="int">
<int value="0" label="Success"/>
<int value="1" label="URL fetching failed"/>
« no previous file with comments | « google_apis/gcm/engine/gcm_store_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698