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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h

Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: diff from https://codereview.chromium.org/2249063004/#ps40001 Created 4 years, 4 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:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
index cf3adabf5dc9e9e12811eea5d7fca6b8b7058b24..43223ad2a9d5b65c7b0394f987cb2814844da6d4 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
@@ -124,8 +124,8 @@ public:
// lifecycle. When no response is provided, the browser should fallback to
// native fetch. EventIDs are the same with the ids passed from
// dispatchFetchEvent respectively.
- virtual void respondToFetchEvent(int responseID) { };
- virtual void respondToFetchEvent(int responseID, const WebServiceWorkerResponse& response) { };
+ virtual void respondToFetchEvent(int responseID, double eventDispatchTime) { };
+ virtual void respondToFetchEvent(int responseID, const WebServiceWorkerResponse& response, double eventDispatchTime) { };
virtual void didHandleFetchEvent(int eventFinishID, WebServiceWorkerEventResult result) { };
// ServiceWorker specific method. Called after InstallEvent (dispatched

Powered by Google App Engine
This is Rietveld 408576698