Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 2416843002: Implement FetchEvent.navigationPreload (Closed)
Patch Set: incorporated falken's comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698