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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 205013002: The blink half of the new ServiceWorker 'sync' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 6 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:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index 5deb2252a8e189e8af5ef146b52eee2e68ba9485..d8e0343282062b817f6695c2814e0382e3d49747 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -50,6 +50,7 @@ public:
virtual void didHandleInstallEvent(int installEventID, blink::WebServiceWorkerEventResult) = 0;
// A null response means no valid response was provided by the service worker, so fallback to native.
virtual void didHandleFetchEvent(int fetchEventID, PassRefPtr<Response> = nullptr) = 0;
+ virtual void didHandleSyncEvent(int syncEventID) = 0;
static const char* supplementName();
static ServiceWorkerGlobalScopeClient* from(ExecutionContext*);
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl ('k') | Source/web/ServiceWorkerGlobalScopeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698