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

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

Issue 2695153002: Refactor BaseFile class to support sparse files (Closed)
Patch Set: using a single fd 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/base_file_win_unittest.cc
diff --git a/content/browser/download/base_file_win_unittest.cc b/content/browser/download/base_file_win_unittest.cc
index 87c304324a32af4cff280bbd4b613ccb53686a9b..b3945a50434dce5ab933ec155e010b2bed225407 100644
--- a/content/browser/download/base_file_win_unittest.cc
+++ b/content/browser/download/base_file_win_unittest.cc
@@ -72,7 +72,8 @@ TEST(BaseFileWin, AnnotateWithSourceInformation) {
ASSERT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE,
base_file.Initialize(base::FilePath(), target_directory.GetPath(),
base::File(), 0, std::string(),
- std::unique_ptr<crypto::SecureHash>()));
+ std::unique_ptr<crypto::SecureHash>(),
+ BaseFile::EXCLUSIVE));
ASSERT_FALSE(base_file.full_path().empty());
ASSERT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE,
base_file.Rename(

Powered by Google App Engine
This is Rietveld 408576698