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

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

Issue 8371009: Make passing of DownloadRequestHandle separate from DownloadCreateInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 years, 2 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_file.h ('k') | content/browser/download/download_file_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file.cc
diff --git a/content/browser/download/download_file.cc b/content/browser/download/download_file.cc
index 5bc5654a0f546004a9c5c05e18506dbf83a0a2d6..147c7fe9ba263618c7026b71cd6b7b48dcce2ef8 100644
--- a/content/browser/download/download_file.cc
+++ b/content/browser/download/download_file.cc
@@ -24,6 +24,7 @@ static const int kMaxUniqueFiles = 100;
}
DownloadFile::DownloadFile(const DownloadCreateInfo* info,
+ const DownloadRequestHandle& request_handle,
DownloadManager* download_manager)
: BaseFile(info->save_info.file_path,
info->url(),
@@ -31,7 +32,7 @@ DownloadFile::DownloadFile(const DownloadCreateInfo* info,
info->received_bytes,
info->save_info.file_stream),
id_(info->download_id),
- request_handle_(info->request_handle),
+ request_handle_(request_handle),
download_manager_(download_manager) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
}
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698