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

Unified Diff: content/browser/download/download_request_core.cc

Issue 2809953002: Make the download's response headers available in the DownloadItem (Closed)
Patch Set: comment Created 3 years, 8 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
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/public/browser/download_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_request_core.cc
diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
index 6469a5c20eb7832dd4462e4d57bfe1809616ca12..7e8d102d55c6b7b99df107aa0e86eb7f542ffa76 100644
--- a/content/browser/download/download_request_core.cc
+++ b/content/browser/download/download_request_core.cc
@@ -234,6 +234,7 @@ DownloadRequestCore::CreateDownloadCreateInfo(DownloadInterruptReason result) {
create_info->result = result;
create_info->download_id = download_id_;
create_info->transient = transient_;
+ create_info->response_headers = request()->response_headers();
create_info->offset = create_info->save_info->offset;
return create_info;
}
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/public/browser/download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698