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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2767093004: Implement the BackgroundFetch{Fail,ed} Service Worker events (Closed)
Patch Set: forward declare the data view Created 3 years, 9 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 | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h ('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 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"/>
« no previous file with comments | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698