| Index: chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| diff --git a/chrome/browser/download/download_path_reservation_tracker_unittest.cc b/chrome/browser/download/download_path_reservation_tracker_unittest.cc
|
| index 5703da3ae849102286847c84285619ac017306f7..1a2728d51e68ee38b3bf858e828e33ed5aff32ed 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;
|
|
|