Index: chrome/installer/util/master_preferences_unittest.cc |
diff --git a/chrome/installer/util/master_preferences_unittest.cc b/chrome/installer/util/master_preferences_unittest.cc |
index ba8edfccc5889fe1ab802b3d238dee4aae4c3e56..4a6182f1925d25cd9918b5940655fbfb8e477ebd 100644 |
--- a/chrome/installer/util/master_preferences_unittest.cc |
+++ b/chrome/installer/util/master_preferences_unittest.cc |
@@ -76,7 +76,7 @@ TEST_F(MasterPreferencesTest, ParseDistroParams) { |
" }\n" |
"} \n"; |
- EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); |
+ EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); |
installer::MasterPreferences prefs(prefs_file()); |
EXPECT_TRUE(prefs.read_from_file()); |
@@ -135,7 +135,7 @@ TEST_F(MasterPreferencesTest, ParseMissingDistroParams) { |
" }\n" |
"} \n"; |
- EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); |
+ EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); |
installer::MasterPreferences prefs(prefs_file()); |
EXPECT_TRUE(prefs.read_from_file()); |
@@ -194,7 +194,7 @@ TEST_F(MasterPreferencesTest, FirstRunTabs) { |
" ]\n" |
"} \n"; |
- EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); |
+ EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); |
installer::MasterPreferences prefs(prefs_file()); |
typedef std::vector<std::string> TabsVector; |
TabsVector tabs = prefs.GetFirstRunTabs(); |
@@ -252,7 +252,7 @@ TEST_F(MasterPreferencesTest, GetInstallPreferencesTest) { |
" \"verbose_logging\": false\n" |
" }\n" |
"} \n"; |
- EXPECT_TRUE(file_util::WriteFile(prefs_file, text, strlen(text))); |
+ EXPECT_TRUE(base::WriteFile(prefs_file, text, strlen(text))); |
// Make sure command line values override the values in master preferences. |
std::wstring cmd_str( |