Index: base/mac/mac_util_unittest.mm |
diff --git a/base/mac/mac_util_unittest.mm b/base/mac/mac_util_unittest.mm |
index 15ceca3a04a51890ffa71077fbe49a124cb0f2e3..1b56814abec936b9d605a446de25a86ed28c380b 100644 |
--- a/base/mac/mac_util_unittest.mm |
+++ b/base/mac/mac_util_unittest.mm |
@@ -220,7 +220,7 @@ TEST_F(MacUtilTest, TestRemoveQuarantineAttribute) { |
ScopedTempDir temp_dir_; |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
FilePath dummy_folder_path = temp_dir_.path().Append("DummyFolder"); |
- ASSERT_TRUE(file_util::CreateDirectory(dummy_folder_path)); |
+ ASSERT_TRUE(base::CreateDirectory(dummy_folder_path)); |
const char* quarantine_str = "0000;4b392bb2;Chromium;|org.chromium.Chromium"; |
const char* file_path_str = dummy_folder_path.value().c_str(); |
EXPECT_EQ(0, setxattr(file_path_str, "com.apple.quarantine", |
@@ -238,7 +238,7 @@ TEST_F(MacUtilTest, TestRemoveQuarantineAttributeTwice) { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
FilePath dummy_folder_path = temp_dir_.path().Append("DummyFolder"); |
const char* file_path_str = dummy_folder_path.value().c_str(); |
- ASSERT_TRUE(file_util::CreateDirectory(dummy_folder_path)); |
+ ASSERT_TRUE(base::CreateDirectory(dummy_folder_path)); |
EXPECT_EQ(-1, getxattr(file_path_str, "com.apple.quarantine", NULL, 0, 0, 0)); |
// No quarantine attribute to begin with, but RemoveQuarantineAttribute still |
// succeeds because in the end the folder still doesn't have the quarantine |