| Index: content/browser/loader/resource_dispatcher_host_impl.h
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
|
| index 22aefbcfd0c4da611cea990e5557abce27fc0198..8edb78dd3e7ec0aeddba100064e8ed55b42da8e0 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h
|
| @@ -69,6 +69,7 @@ class ResourceMessageFilter;
|
| class ResourceRequesterInfo;
|
| class ResourceRequestInfoImpl;
|
| class ResourceScheduler;
|
| +class ServiceWorkerContextWrapper;
|
| class ServiceWorkerNavigationHandleCore;
|
| struct NavigationRequestInfo;
|
| struct Referrer;
|
| @@ -314,13 +315,16 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // ResourceRequestInfoImpl structure with the |request|, etc.
|
| // This function should be called for invoking the BeginURLRequest() function
|
| // to initiate a URL request.
|
| - void InitializeURLRequest(net::URLRequest* request,
|
| - const Referrer& referrer,
|
| - bool is_download,
|
| - int render_process_host_id,
|
| - int render_view_routing_id,
|
| - int render_frame_routing_id,
|
| - ResourceContext* context);
|
| + void InitializeURLRequest(
|
| + net::URLRequest* request,
|
| + const Referrer& referrer,
|
| + bool is_download,
|
| + int render_process_host_id,
|
| + int render_view_routing_id,
|
| + int render_frame_routing_id,
|
| + int service_worker_provider_id,
|
| + ResourceContext* context,
|
| + ServiceWorkerContextWrapper* service_worker_context);
|
|
|
| // Helper function for initiating a URL request. The |is_download| and
|
| // |is_content_initiated and |do_not_prompt_for_login| parameters are
|
| @@ -632,8 +636,10 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| int child_id,
|
| int render_view_route_id,
|
| int render_frame_route_id,
|
| + int service_worker_provider_id,
|
| bool download,
|
| - ResourceContext* context);
|
| + ResourceContext* context,
|
| + ServiceWorkerContextWrapper* service_worker_context);
|
|
|
| // Relationship of resource being authenticated with the top level page.
|
| enum HttpAuthRelationType {
|
|
|