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

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

Issue 2416843002: Implement FetchEvent.navigationPreload (Closed)
Patch Set: 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..dca8ccc148437dd2a2c24585c842ccf1025d71fa 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,
+ WebServiceWorkerPreloadResponseCallbacks* callback) {
+ m_client.registerPreloadResponseCallback(eventID, callback);
+}
+
ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(
WebServiceWorkerContextClient& client)
: m_client(client) {}

Powered by Google App Engine
This is Rietveld 408576698