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

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

Issue 148133007: [Downloads] Always call DM::StartDownload() for explicit downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: content/browser/download/download_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index cc30d51d8eed566f7b5ded60c99183087844d3b9..44b14ede56d00898d9a6c1693eb12e95cf53291e 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -130,11 +130,12 @@ class DownloadFileTest : public testing::Test {
scoped_ptr<DownloadSaveInfo> save_info(new DownloadSaveInfo());
download_file_.reset(
- new DownloadFileImpl(save_info.Pass(),
+ new DownloadFileImpl(*save_info,
base::FilePath(),
GURL(), // Source
GURL(), // Referrer
calculate_hash,
+ save_info->file_stream.Pass(),
scoped_ptr<ByteStreamReader>(input_stream_),
net::BoundNetLog(),
scoped_ptr<PowerSaveBlocker>().Pass(),

Powered by Google App Engine
This is Rietveld 408576698