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

Unified Diff: content/child/service_worker/web_service_worker_registration_impl.h

Issue 2413063003: service worker: Add promise boilerplate for NavigationPreload enable/disable (Closed)
Patch Set: more boilerplate 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: content/child/service_worker/web_service_worker_registration_impl.h
diff --git a/content/child/service_worker/web_service_worker_registration_impl.h b/content/child/service_worker/web_service_worker_registration_impl.h
index 499047489f49804012fa2a257298b8495b7d98bb..7d6deadea5c680c8addbe159ced1ffa0a7aa3c57 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.h
+++ b/content/child/service_worker/web_service_worker_registration_impl.h
@@ -55,6 +55,10 @@ class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
WebServiceWorkerUpdateCallbacks* callbacks) override;
void unregister(blink::WebServiceWorkerProvider* provider,
WebServiceWorkerUnregistrationCallbacks* callbacks) override;
+ void enableNavigationPreload(
+ WebEnableNavigationPreloadCallbacks* callbacks) override;
+ void disableNavigationPreload(
+ WebDisableNavigationPreloadCallbacks* callbacks) override;
int64_t registration_id() const;

Powered by Google App Engine
This is Rietveld 408576698