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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 2498193003: [WIP not ready for review] ServiceWorker Download support.
Patch Set: rebase Created 4 years, 1 month 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/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 {
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698