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

Unified Diff: content/browser/service_worker/service_worker_navigation_handle.cc

Issue 2460223003: Support Service Worker NavigationPreload with PlzNavigate. (Closed)
Patch Set: fix windows compile error 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_navigation_handle.cc
diff --git a/content/browser/service_worker/service_worker_navigation_handle.cc b/content/browser/service_worker/service_worker_navigation_handle.cc
index 2bc87a22fb5210ea2ff324e26f2f196a8d68a746..4fc571611f55da9a405595fa631a3b5936ec77a7 100644
--- a/content/browser/service_worker/service_worker_navigation_handle.cc
+++ b/content/browser/service_worker/service_worker_navigation_handle.cc
@@ -12,12 +12,13 @@
namespace content {
ServiceWorkerNavigationHandle::ServiceWorkerNavigationHandle(
- ServiceWorkerContextWrapper* context_wrapper)
+ ServiceWorkerContextWrapper* context_wrapper,
+ ResourceMessageFilter* resource_message_filter)
: service_worker_provider_host_id_(kInvalidServiceWorkerProviderId),
weak_factory_(this) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- core_ = new ServiceWorkerNavigationHandleCore(weak_factory_.GetWeakPtr(),
- context_wrapper);
+ core_ = new ServiceWorkerNavigationHandleCore(
+ weak_factory_.GetWeakPtr(), context_wrapper, resource_message_filter);
}
ServiceWorkerNavigationHandle::~ServiceWorkerNavigationHandle() {

Powered by Google App Engine
This is Rietveld 408576698