Fix bug 69468: Drag download does not work if there is URL redirection involved.

The fix is to keep track of the original URL.

BUG=69468
TEST=Manual test to verify.

Review URL: http://codereview.chromium.org/6131009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71494 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/renderer_host/download_resource_handler.h b/chrome/browser/renderer_host/download_resource_handler.h
index bc26989..8301a77 100644
--- a/chrome/browser/renderer_host/download_resource_handler.h
+++ b/chrome/browser/renderer_host/download_resource_handler.h
@@ -102,7 +102,8 @@
   int render_view_id_;
   scoped_refptr<net::IOBuffer> read_buffer_;
   std::string content_disposition_;
-  GURL url_;
+  GURL url_; // final URL from which we're downloading.
+  GURL original_url_; // original URL before any redirection by the server.
   int64 content_length_;
   DownloadFileManager* download_file_manager_;
   net::URLRequest* request_;