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

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

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.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index b212b3ee7a7a0c3ac01fca8a1175370a26b99844..cee19438d46ac62872ff2f6d28ec9040e836a421 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -26,8 +26,6 @@ namespace content {
class NavigatorDelegate;
class ResourceRequestBodyImpl;
-class ServiceWorkerContextWrapper;
-class ServiceWorkerNavigationHandle;
struct NavigationRequestInfo;
// This class keeps track of a single navigation. It is created upon receipt of
@@ -165,13 +163,6 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
return resource_request_body_;
}
- // PlzNavigate
- void InitServiceWorkerHandle(
- ServiceWorkerContextWrapper* service_worker_context);
- ServiceWorkerNavigationHandle* service_worker_handle() const {
- return service_worker_handle_.get();
- }
-
typedef base::Callback<void(NavigationThrottle::ThrottleCheckResult)>
ThrottleChecksFinishedCallback;
@@ -318,11 +309,6 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// This callback will be run when all throttle checks have been performed.
ThrottleChecksFinishedCallback complete_callback_;
- // PlzNavigate
- // Manages the lifetime of a pre-created ServiceWorkerProviderHost until a
- // corresponding ServiceWorkerNetworkProvider is created in the renderer.
- std::unique_ptr<ServiceWorkerNavigationHandle> service_worker_handle_;
-
// Embedder data tied to this navigation.
std::unique_ptr<NavigationData> navigation_data_;

Powered by Google App Engine
This is Rietveld 408576698