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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1178043002: Update ServiceWorker event handled status histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/browser/service_worker/service_worker_version.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 f956cff2a0b6455d02a7125daacbc0244449c501..f2130b78dfa572a269e42f8c65fca463a8de482a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -37033,6 +37033,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorker.EventHandledStatus"
+ enum="ServiceWorkerEventHandleStatus">
+ <owner>kinuko@chromium.org</owner>
+ <summary>Records whether each ServiceWorker event is handled or not.</summary>
+</histogram>
+
+<histogram name="ServiceWorker.EventHandledStatus_PerWorker"
+ enum="ServiceWorkerPerWorkerEventHandleStatus">
+ <owner>kinuko@chromium.org</owner>
+ <summary>
+ Records how much of events are handled compared with the number of events
+ that are fired for each ServiceWorker. Recorded when each
+ ServiceWorkerVersion is destructed.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.FetchEvent.Time" units="milliseconds">
<owner>shimazu@chromium.org</owner>
<summary>
@@ -37224,14 +37240,6 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
-<histogram name="ServiceWorker.UnhandledEventRatio" units="percent">
falken 2015/06/12 05:50:29 I don't think we're allowed to rm histograms, they
kinuko 2015/06/25 08:02:22 Oops, oh yeah. :(
- <owner>kinuko@chromium.org</owner>
- <summary>
- Records the ratio of unhandled events to all events that are dispatched to
- each ServiceWorker. Recorded when each ServiceWorkerVersion is destructed.
- </summary>
-</histogram>
-
<histogram name="ServiceWorkerCache.Cache" units="milliseconds">
<owner>dmurph@chromium.org</owner>
<summary>
@@ -64976,6 +64984,17 @@ 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="ServiceWorkerEventHandleStatus" type="int">
+ <int value="0" label="EVENT_HANDLED"/>
+ <int value="1" label="EVENT_NOT_HANDLED"/>
+</enum>
+
+<enum name="ServiceWorkerPerWorkerEventHandleStatus" type="int">
+ <int value="0" label="ALL_EVENTS_HANDLED"/>
+ <int value="1" label="SOME_EVENTS_HANDLED"/>
+ <int value="2" label="NO_EVENTS_HANDLED"/>
+</enum>
+
<enum name="ServiceWorkerReadResponseResult" type="int">
<int value="0" label="OK"/>
<int value="1" label="Read headers error"/>
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698