| Index: tools/metrics/histograms/histograms.xml
|
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
|
| index 15897d5ed603901f057be1e729636a42ee68d3c9..37c525bb2a5172c68fa27c391a56c2dc638138bc 100644
|
| --- a/tools/metrics/histograms/histograms.xml
|
| +++ b/tools/metrics/histograms/histograms.xml
|
| @@ -37484,6 +37484,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
| </summary>
|
| </histogram>
|
|
|
| +<histogram name="ServiceWorker.EventHandledRatioType.Fetch"
|
| + enum="ServiceWorkerEventHandleRatioType">
|
| + <owner>kinuko@chromium.org</owner>
|
| + <summary>
|
| + Records how much of fetch events are handled compared with the number of
|
| + events that are fired for a ServiceWorker. Recorded each time the
|
| + ServiceWorker is stopped.
|
| + </summary>
|
| +</histogram>
|
| +
|
| <histogram name="ServiceWorker.FetchEvent.MainResource.Status"
|
| enum="ServiceWorkerStatusCode">
|
| <owner>falken@chromium.org</owner>
|
| @@ -37719,6 +37729,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
|
|
| <histogram name="ServiceWorker.UnhandledEventRatio" units="percent">
|
| <owner>kinuko@chromium.org</owner>
|
| + <obsolete>
|
| + Deprecated 2015-06 in favor of ServiceWorker.EventHandledStatus*.
|
| + </obsolete>
|
| <summary>
|
| Records the ratio of unhandled events to all events that are dispatched to
|
| each ServiceWorker. Recorded when each ServiceWorkerVersion is destructed.
|
| @@ -66252,6 +66265,12 @@ To add a new entry, add it with any value and run test to compute valid value.
|
| <int value="2" label="MIGRATION_ERROR_FAILED"/>
|
| </enum>
|
|
|
| +<enum name="ServiceWorkerEventHandleRatioType" 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"/>
|
|
|