Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index b764a3e8a9478a894526d07f083132ef49564911..b975ef9c8368d361f02739c182a776f411e4ae5f 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -62957,6 +62957,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="ServiceWorker.BackgroundFetchedEvent.Time" units="ms"> |
+ <owner>peter@chromium.org</owner> |
+ <summary> |
+ The time taken between dispatching a BackgroundFetchedEvent to a Service |
+ Worker and receiving a message that it finished handling the event. Includes |
+ the time for the waitUntil() promise to settle. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="ServiceWorker.BackgroundFetchFailEvent.Time" units="ms"> |
+ <owner>peter@chromium.org</owner> |
+ <summary> |
+ The time taken between dispatching a BackgroundFetchFailEvent to a Service |
+ Worker and receiving a message that it finished handling the event. Includes |
+ the time for the waitUntil() promise to settle. |
+ </summary> |
+</histogram> |
+ |
<histogram name="ServiceWorker.BackgroundSyncEvent.Time" units="ms"> |
<owner>jkarlin@chromium.org</owner> |
<summary> |
@@ -109519,6 +109537,8 @@ from previous Chrome versions. |
<int value="22" label="PAYMENT_REQUEST"/> |
<int value="23" label="BACKGROUND_FETCH_ABORT"/> |
<int value="24" label="BACKGROUND_FETCH_CLICK"/> |
+ <int value="25" label="BACKGROUND_FETCH_FAIL"/> |
+ <int value="26" label="BACKGROUND_FETCHED"/> |
</enum> |
<enum name="ServiceWorkerPreparationType" type="int"> |
@@ -115520,6 +115540,8 @@ from previous Chrome versions. |
<histogram_suffixes name="BackgroundFetchEvents" separator="."> |
<suffix name="AbortEvent" label="BackgroundFetchAbortEvent"/> |
<suffix name="ClickEvent" label="BackgroundFetchClickEvent"/> |
+ <suffix name="FailEvent" label="BackgroundFetchFailEvent"/> |
+ <suffix name="FetchedEvent" label="BackgroundFetchedEvent"/> |
<affected-histogram name="BackgroundFetch.EventDispatchFailure.Dispatch"/> |
<affected-histogram name="BackgroundFetch.EventDispatchFailure.FindWorker"/> |
<affected-histogram name="BackgroundFetch.EventDispatchFailure.StartWorker"/> |