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

Unified Diff: content/child/service_worker/service_worker_network_provider.h

Issue 2045383002: PlzNavigate: detect when a ServiceWorker is present (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Calling FindReadyRegistartionForDocument 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/child/service_worker/service_worker_network_provider.h
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h
index 1d09950af42642385034e911752bc11dcb5ef79b..98729a937ae2d4a2c2cee5c16f845053e47b635d 100644
--- a/content/child/service_worker/service_worker_network_provider.h
+++ b/content/child/service_worker/service_worker_network_provider.h
@@ -24,7 +24,6 @@ class WebLocalFrame;
namespace content {
class ServiceWorkerProviderContext;
-struct RequestNavigationParams;
// A unique provider_id is generated for each instance.
// Instantiated prior to the main resource load being started and remains
@@ -49,16 +48,9 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
static std::unique_ptr<ServiceWorkerNetworkProvider> CreateForNavigation(
int route_id,
- const RequestNavigationParams& request_params,
blink::WebLocalFrame* frame,
bool content_initiated);
- // PlzNavigate
- // The |browser_provider_id| is initialized by the browser for navigations.
- ServiceWorkerNetworkProvider(int route_id,
- ServiceWorkerProviderType type,
- int browser_provider_id,
- bool is_parent_frame_secure);
ServiceWorkerNetworkProvider(int route_id,
ServiceWorkerProviderType type,
bool is_parent_frame_secure);

Powered by Google App Engine
This is Rietveld 408576698