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

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

Issue 2521793004: service worker: Persist NavigationPreloadState (Closed)
Patch Set: expect_ name Created 4 years, 1 month 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 5037c370c96db8a3e629eaf69a8b412d80825c9f..0814051ba768423ac93da1084e18fce368b338b4 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -259,6 +259,17 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost
ProviderStatus* out_status,
int provider_id);
+ void DidUpdateNavigationPreloadEnabled(int thread_id,
+ int request_id,
+ int registration_id,
+ bool enable,
+ ServiceWorkerStatusCode status);
+ void DidUpdateNavigationPreloadHeader(int thread_id,
+ int request_id,
+ int registration_id,
+ const std::string& value,
+ ServiceWorkerStatusCode status);
+
const int render_process_id_;
MessagePortMessageFilter* const message_port_message_filter_;
ResourceContext* resource_context_;

Powered by Google App Engine
This is Rietveld 408576698