Index: chrome/installer/setup/setup_util_unittest.cc |
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc |
index c08e2b77afc1c9f7dd8a31e9bf486ecf18a75f5d..7f58d897a04cba71910b230442aa13b7b6d34708 100644 |
--- a/chrome/installer/setup/setup_util_unittest.cc |
+++ b/chrome/installer/setup/setup_util_unittest.cc |
@@ -137,7 +137,7 @@ TEST_F(SetupUtilTestWithDir, DeleteFileFromTempProcess) { |
base::FilePath test_file; |
base::CreateTemporaryFileInDir(test_dir_.path(), &test_file); |
ASSERT_TRUE(base::PathExists(test_file)); |
- file_util::WriteFile(test_file, "foo", 3); |
+ base::WriteFile(test_file, "foo", 3); |
EXPECT_TRUE(installer::DeleteFileFromTempProcess(test_file, 0)); |
base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); |
EXPECT_FALSE(base::PathExists(test_file)); |
@@ -307,10 +307,10 @@ class FindArchiveToPatchTest : public SetupUtilTestWithDir { |
// Create archives in the two version dirs. |
ASSERT_TRUE( |
base::CreateDirectory(GetProductVersionArchivePath().DirName())); |
- ASSERT_EQ(1, file_util::WriteFile(GetProductVersionArchivePath(), "a", 1)); |
+ ASSERT_EQ(1, base::WriteFile(GetProductVersionArchivePath(), "a", 1)); |
ASSERT_TRUE( |
base::CreateDirectory(GetMaxVersionArchivePath().DirName())); |
- ASSERT_EQ(1, file_util::WriteFile(GetMaxVersionArchivePath(), "b", 1)); |
+ ASSERT_EQ(1, base::WriteFile(GetMaxVersionArchivePath(), "b", 1)); |
} |
virtual void TearDown() OVERRIDE { |