Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 5698a9f4f1f4abc4239c1d5ca424d78968945196..e3d759daf105eb09c0b52f61250e18d4cb76887a 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -2151,8 +2151,7 @@ void ResourceDispatcherHostImpl::FinishedWithResourcesForRequest( |
void ResourceDispatcherHostImpl::BeginNavigationRequest( |
ResourceContext* resource_context, |
const NavigationRequestInfo& info, |
- NavigationURLLoaderImplCore* loader, |
- ServiceWorkerNavigationHandleCore* service_worker_handle_core) { |
+ NavigationURLLoaderImplCore* loader) { |
// PlzNavigate: BeginNavigationRequest currently should only be used for the |
// browser-side navigations project. |
CHECK(IsBrowserSideNavigationEnabled()); |
@@ -2285,15 +2284,6 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest( |
blob_context->GetBlobDataFromPublicURL(new_request->url())); |
} |
- RequestContextFrameType frame_type = |
- info.is_main_frame ? REQUEST_CONTEXT_FRAME_TYPE_TOP_LEVEL |
- : REQUEST_CONTEXT_FRAME_TYPE_NESTED; |
- ServiceWorkerRequestHandler::InitializeForNavigation( |
- new_request.get(), service_worker_handle_core, blob_context, |
- info.begin_params.skip_service_worker, resource_type, |
- info.begin_params.request_context_type, frame_type, |
- info.common_params.post_data); |
- |
// TODO(davidben): Attach AppCacheInterceptor. |
std::unique_ptr<ResourceHandler> handler( |