| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| index cdf5b2b5b74ba580b2f5e83b18f9ba7b9bcb1df5..c1431c2c5d2ee57233eb7218629e3bfe4b5da403 100644
|
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| @@ -50,6 +50,7 @@ class WebServiceWorkerNetworkProvider;
|
| class WebServiceWorkerProvider;
|
| class WebServiceWorkerResponse;
|
| class WebString;
|
| +class InterfaceRegistry;
|
|
|
| // This interface is implemented by the client. It is supposed to be created
|
| // on the main thread and then passed on to the worker thread by a newly
|
| @@ -182,13 +183,6 @@ class WebServiceWorkerContextClient {
|
| WebServiceWorkerEventResult result,
|
| double eventDispatchTime) {}
|
|
|
| - // ServiceWorker specific method. Called after SyncEvent (dispatched via
|
| - // WebServiceWorkerContextProxy) is handled by the ServiceWorker's script
|
| - // context.
|
| - virtual void didHandleSyncEvent(int syncEventID,
|
| - WebServiceWorkerEventResult result,
|
| - double eventDispatchTime) {}
|
| -
|
| // Ownership of the returned object is transferred to the caller.
|
| // This is called on the main thread.
|
| virtual WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider(
|
| @@ -269,6 +263,8 @@ class WebServiceWorkerContextClient {
|
| virtual void registerForeignFetchScopes(
|
| const WebVector<WebURL>& subScopes,
|
| const WebVector<WebSecurityOrigin>& origins) = 0;
|
| +
|
| + virtual InterfaceRegistry* interfaceRegistry() { return nullptr; }
|
| };
|
|
|
| } // namespace blink
|
|
|