Chromium Code Reviews

Unified Diff: content/public/browser/download_url_parameters.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/download_url_parameters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_url_parameters.h
diff --git a/content/public/browser/download_url_parameters.h b/content/public/browser/download_url_parameters.h
index d5c32d8dfb24b4a65f14a5fb60d3c8efa66b1d18..4e1706246805f0cc2b81b70b676098b6ed058800 100644
--- a/content/public/browser/download_url_parameters.h
+++ b/content/public/browser/download_url_parameters.h
@@ -221,6 +221,11 @@ class CONTENT_EXPORT DownloadUrlParameters {
return render_frame_host_routing_id_;
}
+ void set_service_worker_provider_id(int id) {
+ service_worker_provider_id_ = id;
+ }
+ int service_worker_provider_id() const { return service_worker_provider_id_; }
+
const RequestHeadersType& request_headers() const { return request_headers_; }
net::URLRequestContextGetter* url_request_context_getter() {
return url_request_context_getter_.get();
@@ -261,6 +266,7 @@ class CONTENT_EXPORT DownloadUrlParameters {
int render_process_host_id_;
int render_view_host_routing_id_;
int render_frame_host_routing_id_;
+ int service_worker_provider_id_;
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
DownloadSaveInfo save_info_;
GURL url_;
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/download_url_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine