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

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

Issue 2712713007: Make DownloadFileImpl handle multiple byte streams. (Closed)
Patch Set: Work on feedback. Created 3 years, 10 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_factory.cc
diff --git a/content/browser/download/download_file_factory.cc b/content/browser/download/download_file_factory.cc
index a2afc680a97dd2f1e3663b1a77451e7b3c98b8d5..e1811a98524a0ab2ad7905dd9c100b532236c207 100644
--- a/content/browser/download/download_file_factory.cc
+++ b/content/browser/download/download_file_factory.cc
@@ -18,11 +18,8 @@ DownloadFile* DownloadFileFactory::CreateFile(
std::unique_ptr<ByteStreamReader> byte_stream,
const net::NetLogWithSource& net_log,
base::WeakPtr<DownloadDestinationObserver> observer) {
- return new DownloadFileImpl(std::move(save_info),
- default_downloads_directory,
- std::move(byte_stream),
- net_log,
- observer);
+ return new DownloadFileImpl(std::move(save_info), default_downloads_directory,
+ std::move(byte_stream), net_log, false, observer);
David Trainor- moved to gerrit 2017/03/02 18:24:50 Maybe add /* is_sparse_file */ to false to make it
xingliu 2017/03/02 19:21:20 Done.
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698