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

Unified Diff: public/web/WebServiceWorkerContextProxy.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: Addressing michaeln's comments 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: public/web/WebServiceWorkerContextProxy.h
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h
index 07278c096a2bde929777c501da601dda43e019cd..546773d7a514a250b4fb0dcb69fdcd164b028aaf 100644
--- a/public/web/WebServiceWorkerContextProxy.h
+++ b/public/web/WebServiceWorkerContextProxy.h
@@ -46,6 +46,10 @@ public:
// FIXME: This needs to pass the fetch request info.
virtual void dispatchFetchEvent(int fetchEventID) = 0;
+ // Once the ServiceWorker has finished handling the sync event
+ // didHandleSyncEvent is called on the context client.
+ virtual void dispatchSyncEvent(int syncEventID) = 0;
+
virtual void resumeWorkerContext() { }
virtual void attachDevTools() { }
virtual void reattachDevTools(const WebString& savedState) { }
« Source/web/ServiceWorkerGlobalScopeProxy.cpp ('K') | « public/web/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698