summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_path_reservation_tracker_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_path_reservation_tracker_unittest.cc')
-rw-r--r--chrome/browser/download/download_path_reservation_tracker_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/download/download_path_reservation_tracker_unittest.cc b/chrome/browser/download/download_path_reservation_tracker_unittest.cc
index 5703da3..1a2728d 100644
--- a/chrome/browser/download/download_path_reservation_tracker_unittest.cc
+++ b/chrome/browser/download/download_path_reservation_tracker_unittest.cc
@@ -281,9 +281,9 @@ TEST_F(DownloadPathReservationTrackerTest, ConflictingFiles) {
base::FilePath path1(
GetPathInDownloadsDirectory(FILE_PATH_LITERAL("foo (1).txt")));
// Create a file at |path|, and a .crdownload file at |path1|.
- ASSERT_EQ(0, file_util::WriteFile(path, "", 0));
+ ASSERT_EQ(0, base::WriteFile(path, "", 0));
ASSERT_EQ(0,
- file_util::WriteFile(
+ base::WriteFile(
DownloadTargetDeterminer::GetCrDownloadPath(path1), "", 0));
ASSERT_TRUE(IsPathInUse(path));
@@ -647,8 +647,8 @@ TEST_F(DownloadPathReservationTrackerTest, TruncationConflict) {
// "aaa...aaaaaaa.txt" (truncated path) and
// "aaa...aaa (1).txt" (truncated and first uniquification try) exists.
// "aaa...aaa (2).txt" should be used.
- ASSERT_EQ(0, file_util::WriteFile(path0, "", 0));
- ASSERT_EQ(0, file_util::WriteFile(path1, "", 0));
+ ASSERT_EQ(0, base::WriteFile(path0, "", 0));
+ ASSERT_EQ(0, base::WriteFile(path1, "", 0));
base::FilePath reserved_path;
bool verified = false;