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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.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/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index cd9d82b441ec1aba3994115dfe13bb97621a3a43..f7d4bf9bff1d8f121e8bc599d5547741cce61e65 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -73,8 +73,8 @@ public:
virtual void didHandleExtendableMessageEvent(int eventID, WebServiceWorkerEventResult) = 0;
// Calling respondToFetchEvent without response means no response was
// provided by the service worker in the fetch events, so fallback to native.
- virtual void respondToFetchEvent(int responseID) = 0;
- virtual void respondToFetchEvent(int responseID, const WebServiceWorkerResponse&) = 0;
+ virtual void respondToFetchEvent(int responseID, double eventDispatchTime) = 0;
+ virtual void respondToFetchEvent(int responseID, const WebServiceWorkerResponse&, double eventDispatchTime) = 0;
virtual void didHandleFetchEvent(int eventFinishID, WebServiceWorkerEventResult) = 0;
virtual void didHandleInstallEvent(int installEventID, WebServiceWorkerEventResult) = 0;
virtual void didHandleNotificationClickEvent(int eventID, WebServiceWorkerEventResult) = 0;

Powered by Google App Engine
This is Rietveld 408576698