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

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

Issue 2168513004: [DO NOT COMMIT] ServiceWorker: First touch of mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove an unnecessary file Created 4 years, 5 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..a6a5f65126f9297a5d66a1db60312f2fda836075 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -45,9 +45,11 @@
namespace blink {
+class ExecutionContext;
+class ServiceRegistry;
+class ServiceWorkerGlobalScope;
struct WebCrossOriginServiceWorkerClient;
struct WebServiceWorkerClientQueryOptions;
-class ExecutionContext;
class WebServiceWorkerCacheStorage;
class WebServiceWorkerResponse;
class WebURL;
@@ -69,6 +71,7 @@ public:
virtual WebURL scope() const = 0;
+ virtual void didInitializeContext(ServiceWorkerGlobalScope*) = 0;
virtual void didHandleActivateEvent(int eventID, WebServiceWorkerEventResult) = 0;
virtual void didHandleExtendableMessageEvent(int eventID, WebServiceWorkerEventResult) = 0;
// Calling respondToFetchEvent without response means no response was
@@ -91,6 +94,7 @@ public:
static const char* supplementName();
static ServiceWorkerGlobalScopeClient* from(ExecutionContext*);
+ static ServiceWorkerGlobalScopeClient* from(WorkerClients*);
protected:
ServiceWorkerGlobalScopeClient() { }

Powered by Google App Engine
This is Rietveld 408576698