Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
index 0b58bf64310124eaf1c97a6b6039c4540432d357..80699ad5d8a6593cfac468858ebeb5fd70e38297 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
@@ -191,6 +191,12 @@ void ServiceWorkerGlobalScopeClientImpl::registerForeignFetchScopes( |
m_client.registerForeignFetchScopes(subScopes, origins); |
} |
+void ServiceWorkerGlobalScopeClientImpl::registerPreloadResponseCallback( |
+ int eventID, |
+ std::unique_ptr<WebServiceWorkerPreloadResponseCallbacks> callback) { |
+ m_client.registerPreloadResponseCallback(eventID, std::move(callback)); |
+} |
+ |
ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl( |
WebServiceWorkerContextClient& client) |
: m_client(client) {} |