Chromium Code Reviews| 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 524133ac757f2e09e42b575b47d69708b2dc79c3..40f07466c7d1e25da03e10e06b3b23b6db08d6a5 100644 |
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
| @@ -38,6 +38,7 @@ |
| #include "public/platform/modules/serviceworker/WebServiceWorkerClientsClaimCallbacks.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerEventResult.h" |
| +#include "public/platform/modules/serviceworker/WebServiceWorkerPreloadResponseCallbacks.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerSkipWaitingCallbacks.h" |
| #include "wtf/Forward.h" |
| #include "wtf/Noncopyable.h" |
| @@ -124,6 +125,10 @@ class MODULES_EXPORT ServiceWorkerGlobalScopeClient |
| const WebVector<WebURL>& subScopes, |
| const WebVector<WebSecurityOrigin>&) = 0; |
| + virtual void registerPreloadResponseCallback( |
|
falken
2016/10/19 06:00:13
I think it's time to break the pattern of no comme
horo
2016/10/19 07:11:45
Done.
|
| + int eventID, |
| + WebServiceWorkerPreloadResponseCallbacks*) = 0; |
|
falken
2016/10/19 06:00:13
Could this be std::unique_ptr (I think previously
horo
2016/10/19 07:11:45
Done.
|
| + |
| static const char* supplementName(); |
| static ServiceWorkerGlobalScopeClient* from(ExecutionContext*); |