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

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

Issue 1155483002: Adding UMA for persistent notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing histgram enum label. Created 5 years, 7 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 | « content/public/common/persistent_notification_status.h ('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 f6f159dbb58a477360b2935d684e7d82509ea492..bf572755b7371b1211ad759f5a8da86ed9cb983e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -36358,6 +36358,29 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram
+ name="ServiceWorker.PlatformNotificationService.PersistentNotificationDataDeleted"
+ enum="BooleanSuccess">
+ <owner>peter@chromium.org</owner>
+ <owner>deepak.m1@samsung.com</owner>
+ <summary>
+ Recorded when the data associated with a persistent Web Notification gets
+ deleted. The value will be true if data deletion succeeded, and false if
+ there was an error.
+ </summary>
+</histogram>
+
+<histogram
+ name="ServiceWorker.PlatformNotificationService.PersistentWebNotificationClickResult"
+ enum="ServiceWorkerPlatformNotificationStatus">
+ <owner>peter@chromium.org</owner>
+ <owner>deepak.m1@samsumg.com</owner>
+ <summary>
+ Recorded delivery status for persistent notification clicks to a Service
+ Worker when handling a click on a persistent WebNotification has finished.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.PushEventExecutionTime" units="millisecond">
<owner>johnme@chromium.org</owner>
<summary>Execution time of ServiceWorkerGlobalScope.onpush.</summary>
@@ -63416,6 +63439,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="2" label="Failed to delete ServiceWorkerDiskCache"/>
</enum>
+<enum name="ServiceWorkerPlatformNotificationStatus" type="int">
+ <int value="0" label="OK"/>
+ <int value="1" label="Service Worker not found"/>
+ <int value="2" label="Service Worker error"/>
+ <int value="3" label="event.waitUntil promise rejected"/>
+ <int value="4" label="Database error"/>
+</enum>
+
<enum name="ServiceWorkerReadResponseResult" type="int">
<int value="0" label="OK"/>
<int value="1" label="Read headers error"/>
« no previous file with comments | « content/public/common/persistent_notification_status.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698