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

Unified Diff: content/browser/download/base_file_win_unittest.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/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f29f79e87abfd2acae3cc0268160c6a200373d52 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>(),
+ false));
ASSERT_FALSE(base_file.full_path().empty());
ASSERT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE,
base_file.Rename(
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698