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

Unified Diff: content/browser/service_worker/service_worker_request_handler.h

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 5 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 a3246e974c4278fedd3b537f187b76e6fad84c2f..3e873eecc0df30be9b00ec5d87b77905dcf3223c 100644
--- a/content/browser/service_worker/service_worker_request_handler.h
+++ b/content/browser/service_worker/service_worker_request_handler.h
@@ -31,6 +31,7 @@ namespace content {
class ResourceContext;
class ResourceRequestBody;
+class NavigationURLLoaderImplCore;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
class ServiceWorkerProviderHost;
@@ -61,6 +62,15 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
RequestContextFrameType frame_type,
scoped_refptr<ResourceRequestBody> body);
+ static void InitializeNavigationHandler(
+ net::URLRequest* request,
+ ServiceWorkerContextWrapper* context_wrapper,
+ storage::BlobStorageContext* blob_storage_context,
+ bool skip_service_worker,
+ bool is_main_frame,
+ scoped_refptr<ResourceRequestBody> body,
+ NavigationURLLoaderImplCore* loader);
+
// Returns the handler attached to |request|. This may return NULL
// if no handler is attached.
static ServiceWorkerRequestHandler* GetHandler(

Powered by Google App Engine
This is Rietveld 408576698