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

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

Issue 2045383002: PlzNavigate: detect when a ServiceWorker is present (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 6 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 a31508c18e0e1ec27973f27cbb510d2398d4090a..d7dcbefabbf2f06121040f756c61a2c45587d524 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -11,7 +11,6 @@
#include "content/browser/frame_host/navigator.h"
#include "content/browser/frame_host/navigator_delegate.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
-#include "content/browser/service_worker/service_worker_navigation_handle.h"
#include "content/common/frame_messages.h"
#include "content/common/resource_request_body_impl.h"
#include "content/public/browser/content_browser_client.h"
@@ -298,13 +297,6 @@ NavigationData* NavigationHandleImpl::GetNavigationData() {
return navigation_data_.get();
}
-void NavigationHandleImpl::InitServiceWorkerHandle(
- ServiceWorkerContextWrapper* service_worker_context) {
- DCHECK(IsBrowserSideNavigationEnabled());
- service_worker_handle_.reset(
- new ServiceWorkerNavigationHandle(service_worker_context));
-}
-
void NavigationHandleImpl::WillStartRequest(
const std::string& method,
scoped_refptr<content::ResourceRequestBodyImpl> resource_request_body,

Powered by Google App Engine
This is Rietveld 408576698