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"/> |