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

Unified Diff: chrome/browser/renderer_host/download_resource_handler.cc

Issue 6131009: Fix bug 69468: Drag download does not work if there is URL redirection involv... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
Index: chrome/browser/renderer_host/download_resource_handler.cc
===================================================================
--- chrome/browser/renderer_host/download_resource_handler.cc (revision 71082)
+++ chrome/browser/renderer_host/download_resource_handler.cc (working copy)
@@ -36,6 +36,7 @@
global_id_(render_process_host_id, request_id),
render_view_id_(render_view_id),
url_(url),
+ original_url_(url),
content_length_(0),
download_file_manager_(download_file_manager),
request_(request),
@@ -124,6 +125,7 @@
// |download_file_manager_| consumes (deletes):
DownloadCreateInfo* info = new DownloadCreateInfo;
info->url = url_;
+ info->original_url = original_url_;
info->referrer_url = GURL(request_->referrer());
info->start_time = base::Time::Now();
info->received_bytes = 0;

Powered by Google App Engine
This is Rietveld 408576698