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

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

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.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);

Powered by Google App Engine
This is Rietveld 408576698