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

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

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated Randy's comments. Created 9 years, 1 month 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: content/browser/download/download_file.cc
diff --git a/content/browser/download/download_file.cc b/content/browser/download/download_file.cc
index 3e29fd860f8b882bc58204fdfa48df084e4f475a..bbbf611fe90d4d6e984c3bd6fc44581456628dbe 100644
--- a/content/browser/download/download_file.cc
+++ b/content/browser/download/download_file.cc
@@ -27,11 +27,13 @@ static const int kMaxUniqueFiles = 100;
DownloadFile::DownloadFile(const DownloadCreateInfo* info,
DownloadRequestHandleInterface* request_handle,
- DownloadManager* download_manager)
+ DownloadManager* download_manager,
+ const std::string& initial_hash)
: BaseFile(info->save_info.file_path,
info->url(),
info->referrer_url,
info->received_bytes,
+ initial_hash,
info->save_info.file_stream),
id_(info->download_id),
request_handle_(request_handle),

Powered by Google App Engine
This is Rietveld 408576698