Index: components/gcm_driver/gcm_client.h |
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
index c4dd12adc914375e3c8cf118e114589f292a7df5..c4c9c265ec6ae60df4a1cdc32240882a6ee28844 100644 |
--- a/components/gcm_driver/gcm_client.h |
+++ b/components/gcm_driver/gcm_client.h |
@@ -51,6 +51,7 @@ class GCMClient { |
IMMEDIATE_START |
}; |
+ // Used for UMA. Can add enum values, but never renumber or delete and reuse. |
enum Result { |
// Successful operation. |
SUCCESS, |
@@ -68,7 +69,11 @@ class GCMClient { |
// Exceeded the specified TTL during message sending. |
TTL_EXCEEDED, |
// Other errors. |
- UNKNOWN_ERROR |
+ UNKNOWN_ERROR, |
+ |
+ // Used for UMA. Keep LAST_RESULT up to date and sync with histograms.xml. |
+ |
Peter Beverloo
2017/02/07 18:11:08
micro nit: no newline
johnme
2017/02/08 14:14:36
Done.
|
+ LAST_RESULT = UNKNOWN_ERROR |
}; |
enum ChromePlatform { |