Index: chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc b/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc |
index 87f093f9ed4e7a6ff8a680f082bd4d47ffad2018..338735ab51266654ad219b1234a46cdfba1090f0 100644 |
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc |
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc |
@@ -234,7 +234,7 @@ TEST_F(EnterpriseInstallAttributesTest, ReadCacheFile) { |
EnterpriseInstallAttributes::kAttrEnterpriseUser, kTestUser); |
const std::string blob(install_attrs_proto.SerializeAsString()); |
ASSERT_EQ(static_cast<int>(blob.size()), |
- file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size())); |
+ base::WriteFile(GetTempPath(), blob.c_str(), blob.size())); |
install_attributes_.ReadCacheFile(GetTempPath()); |
EXPECT_EQ(DEVICE_MODE_ENTERPRISE, install_attributes_.GetMode()); |
EXPECT_EQ(kTestDomain, install_attributes_.GetDomain()); |
@@ -248,7 +248,7 @@ TEST_F(EnterpriseInstallAttributesTest, ReadCacheFileForConsumerKiosk) { |
EnterpriseInstallAttributes::kAttrConsumerKioskEnabled, "true"); |
const std::string blob(install_attrs_proto.SerializeAsString()); |
ASSERT_EQ(static_cast<int>(blob.size()), |
- file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size())); |
+ base::WriteFile(GetTempPath(), blob.c_str(), blob.size())); |
install_attributes_.ReadCacheFile(GetTempPath()); |
EXPECT_EQ(DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, |
install_attributes_.GetMode()); |