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

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 2446553002: Support Service Worker NavigationPreload with PlzNavigate. (Closed)
Patch Set: remove unnecessary comment 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/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 26bcc63fa8e58fc8673879491aacc14564144169..83b8cfffe62ce4f84ceaad0f9562ee2e888de8a0 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,
+ const MojoURLLoaderFactoryGetter& url_loader_factory_getter) {
DCHECK(IsBrowserSideNavigationEnabled());
- service_worker_handle_.reset(
- new ServiceWorkerNavigationHandle(service_worker_context));
+ service_worker_handle_.reset(new ServiceWorkerNavigationHandle(
+ service_worker_context, url_loader_factory_getter));
}
void NavigationHandleImpl::WillStartRequest(

Powered by Google App Engine
This is Rietveld 408576698