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

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

Issue 2433273003: service worker: Plumb NavigationPreloadManager.enable/disable to browser-side (Closed)
Patch Set: comments 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 7d6deadea5c680c8addbe159ced1ffa0a7aa3c57..18fb04a0803193b9a9f870e08839e727aabcef0f 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.h
+++ b/content/child/service_worker/web_service_worker_registration_impl.h
@@ -56,9 +56,9 @@ class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
void unregister(blink::WebServiceWorkerProvider* provider,
WebServiceWorkerUnregistrationCallbacks* callbacks) override;
void enableNavigationPreload(
- WebEnableNavigationPreloadCallbacks* callbacks) override;
- void disableNavigationPreload(
- WebDisableNavigationPreloadCallbacks* callbacks) override;
+ bool enable,
+ blink::WebServiceWorkerProvider* provider,
+ std::unique_ptr<WebEnableNavigationPreloadCallbacks> callbacks) override;
int64_t registration_id() const;

Powered by Google App Engine
This is Rietveld 408576698