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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1155483002: Adding UMA for persistent notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes as per review comments. Created 5 years, 6 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index f6f159dbb58a477360b2935d684e7d82509ea492..66ca5b21da4fa2e87d73952c0ae467c5b3fc93e0 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,15 @@ 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="PERSISTENT_NOTIFICATION_STATUS_SUCCESS"/>
Peter Beverloo 2015/05/27 12:28:48 label = OK
Deepak 2015/05/27 12:42:39 Done.
+ <int value="1" label="PERSISTENT_NOTIFICATION_STATUS_NO_SERVICE_WORKER"/>
Peter Beverloo 2015/05/27 12:28:48 Service Worker not found
Deepak 2015/05/27 12:42:38 Done.
+ <int value="2" label="PERSISTENT_NOTIFICATION_STATUS_SERVICE_WORKER_ERROR"/>
Peter Beverloo 2015/05/27 12:28:48 Service Worker error
Deepak 2015/05/27 12:42:38 Done.
+ <int value="3"
+ label="PERSISTENT_NOTIFICATION_STATUS_EVENT_WAITUNTIL_REJECTED"/>
Peter Beverloo 2015/05/27 12:28:48 event.waitUntil promise rejected
Deepak 2015/05/27 12:42:39 I have made this like: "Event wait Until promise r
Peter Beverloo 2015/05/27 12:45:45 event.waitUntil() actually is the name of the Java
+ <int value="4" label="PERSISTENT_NOTIFICATION_STATUS_DATABASE_ERROR"/>
Peter Beverloo 2015/05/27 12:28:48 Database error
Deepak 2015/05/27 12:42:38 Done.
+</enum>
+
<enum name="ServiceWorkerReadResponseResult" type="int">
<int value="0" label="OK"/>
<int value="1" label="Read headers error"/>

Powered by Google App Engine
This is Rietveld 408576698