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

Unified Diff: content/browser/frame_host/navigation_handle_impl.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/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index b21a57e200289d1e9989e4f85e9bf5007e4cad19..53911c29259441533365b275752ecffe0b7a637d 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -372,10 +372,11 @@ NavigationData* NavigationHandleImpl::GetNavigationData() {
}
void NavigationHandleImpl::InitServiceWorkerHandle(
- ServiceWorkerContextWrapper* service_worker_context) {
+ ServiceWorkerContextWrapper* service_worker_context,
+ ResourceMessageFilter* resource_message_filter) {
DCHECK(IsBrowserSideNavigationEnabled());
- service_worker_handle_.reset(
- new ServiceWorkerNavigationHandle(service_worker_context));
+ service_worker_handle_.reset(new ServiceWorkerNavigationHandle(
+ service_worker_context, resource_message_filter));
}
void NavigationHandleImpl::WillStartRequest(
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.h ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698