Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h |
index e7501de0fe43d41095f702e8c6add0184c4f6b76..ffab15abfc11774dd2c6e0ef798ada353f7735d6 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h |
@@ -33,6 +33,7 @@ |
#include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
#include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" |
+#include "public/platform/modules/serviceworker/WebServiceWorkerPreloadResponseCallbacks.h" |
#include "public/platform/modules/serviceworker/WebServiceWorkerSkipWaitingCallbacks.h" |
#include <memory> |
@@ -105,6 +106,9 @@ class ServiceWorkerGlobalScopeClientImpl final |
WebServiceWorkerClientCallbacks*) override; |
void registerForeignFetchScopes(const WebVector<WebURL>& subScopes, |
const WebVector<WebSecurityOrigin>&) override; |
+ void registerPreloadResponseCallback( |
+ int eventID, |
+ std::unique_ptr<WebServiceWorkerPreloadResponseCallbacks>) override; |
DEFINE_INLINE_VIRTUAL_TRACE() { |
ServiceWorkerGlobalScopeClient::trace(visitor); |