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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 2433273003: service worker: Plumb NavigationPreloadManager.enable/disable to browser-side (Closed)
Patch Set: bad msg 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/browser/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index 386f0a92ada69afab4eda20eeb282ff96faa3972..eea5db8fcaf66e3da43411625b282c1ae71c7d3d 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -129,6 +129,11 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost
void OnGetRegistrationForReady(int thread_id,
int request_id,
int provider_id);
+ void OnEnableNavigationPreload(int thread_id,
+ int request_id,
+ int provider_id,
+ int64_t registration_id,
+ bool enable);
void OnProviderDestroyed(int provider_id);
void OnSetHostedVersionId(int provider_id,
int64_t version_id,

Powered by Google App Engine
This is Rietveld 408576698