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

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

Issue 2695153002: Refactor BaseFile class to support sparse files (Closed)
Patch Set: remove the while loop around write 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
« no previous file with comments | « content/browser/download/download_file_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_file.cc
diff --git a/content/browser/download/save_file.cc b/content/browser/download/save_file.cc
index 96cd0bf9447e82bd3f2f6ff44e4c11978ee17978..56f968a2ed7150f2d2845835fb65c5847cb7ff40 100644
--- a/content/browser/download/save_file.cc
+++ b/content/browser/download/save_file.cc
@@ -28,7 +28,8 @@ SaveFile::~SaveFile() {
DownloadInterruptReason SaveFile::Initialize() {
return file_.Initialize(base::FilePath(), base::FilePath(), base::File(), 0,
- std::string(), std::unique_ptr<crypto::SecureHash>());
+ std::string(), std::unique_ptr<crypto::SecureHash>(),
+ false);
}
DownloadInterruptReason SaveFile::AppendDataToFile(const char* data,
« no previous file with comments | « content/browser/download/download_file_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698