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

Unified Diff: content/browser/service_worker/service_worker_request_handler.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/service_worker/service_worker_request_handler.h
diff --git a/content/browser/service_worker/service_worker_request_handler.h b/content/browser/service_worker/service_worker_request_handler.h
index 56cb4f476acc7a0041968d7fb6c54c07044cf6f7..449db58b1cb8775946187e9b8074be42ac8b557e 100644
--- a/content/browser/service_worker/service_worker_request_handler.h
+++ b/content/browser/service_worker/service_worker_request_handler.h
@@ -36,7 +36,6 @@ class ResourceMessageFilter;
class ResourceRequestBodyImpl;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
-class ServiceWorkerNavigationHandleCore;
class ServiceWorkerProviderHost;
// Abstract base class for routing network requests to ServiceWorkers.
@@ -44,19 +43,6 @@ class ServiceWorkerProviderHost;
class CONTENT_EXPORT ServiceWorkerRequestHandler
: public base::SupportsUserData::Data {
public:
- // PlzNavigate
- // Attaches a newly created handler if the given |request| needs to be handled
- // by ServiceWorker.
- static void InitializeForNavigation(
- net::URLRequest* request,
- ServiceWorkerNavigationHandleCore* navigation_handle_core,
- storage::BlobStorageContext* blob_storage_context,
- bool skip_service_worker,
- ResourceType resource_type,
- RequestContextType request_context_type,
- RequestContextFrameType frame_type,
- scoped_refptr<ResourceRequestBodyImpl> body);
-
// Attaches a newly created handler if the given |request| needs to
// be handled by ServiceWorker.
// TODO(kinuko): While utilizing UserData to attach data to URLRequest

Powered by Google App Engine
This is Rietveld 408576698