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

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

Issue 2416863002: Use fetch_event_id (fetchEventID in blink) for FetchEvent (Closed)
Patch Set: Created 4 years, 2 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 081cc9abb06213824fec7927b240b966e5615786..cdf5b2b5b74ba580b2f5e83b18f9ba7b9bcb1df5 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
@@ -143,11 +143,12 @@ class WebServiceWorkerContextClient {
// 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, double eventDispatchTime) {}
- virtual void respondToFetchEvent(int responseID,
+ virtual void respondToFetchEvent(int fetchEventID, double eventDispatchTime) {
+ }
+ virtual void respondToFetchEvent(int fetchEventID,
const WebServiceWorkerResponse& response,
double eventDispatchTime) {}
- virtual void didHandleFetchEvent(int eventFinishID,
+ virtual void didHandleFetchEvent(int fetchEventID,
WebServiceWorkerEventResult result,
double eventDispatchTime) {}

Powered by Google App Engine
This is Rietveld 408576698