| 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() { }
|
|
|