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

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

Issue 214413004: Dispatch the ServiceWorker "activate" event during activation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing w/ ASSERT. 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 d8e0343282062b817f6695c2814e0382e3d49747..4bcbbb3ee17b499da05f35befaeacf5c262ed22c 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -47,6 +47,7 @@ class ServiceWorkerGlobalScopeClient : public Supplement<WorkerClients> {
public:
virtual ~ServiceWorkerGlobalScopeClient() { }
+ virtual void didHandleActivateEvent(int eventID, blink::WebServiceWorkerEventResult) = 0;
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;
« no previous file with comments | « Source/modules/serviceworkers/InstallPhaseEvent.cpp ('k') | Source/modules/serviceworkers/WaitUntilObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698