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 2c14eb1b862676854d13107880525399a5fdb004..fada6ab78cf119ca315495407c0c23d1c79c3e2a 100644 |
--- a/content/browser/service_worker/service_worker_request_handler.h |
+++ b/content/browser/service_worker/service_worker_request_handler.h |
@@ -41,6 +41,20 @@ struct ResourceResponseInfo; |
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, |
+ ServiceWorkerContextWrapper* context_wrapper, |
+ storage::BlobStorageContext* blob_storage_context, |
+ int provider_id, |
+ bool skip_service_worker, |
+ ResourceType resource_type, |
+ RequestContextType request_context_type, |
+ RequestContextFrameType frame_type, |
+ scoped_refptr<ResourceRequestBody> 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 |