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 a0855984d17f5fd4f65acf0b6e5be3146c1a9b68..e6070ddc19dee22a79922747a261cd006e29a883 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -2149,8 +2149,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()); |
@@ -2278,15 +2277,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( |