Index: chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
index 8c8a02e5b37ee4c969db8a5005b5401500b21e8b..a5320370bab65016d988eea9a96bc8b0e5ce6713 100644 |
--- a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
+++ b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
@@ -801,11 +801,11 @@ TEST_F(LocalFileSyncContextTest, ApplyRemoteChangeForAddOrUpdate) { |
const base::FilePath kFilePath2(temp_dir.path().Append(FPL("file2"))); |
ASSERT_EQ(static_cast<int>(arraysize(kTestFileData1) - 1), |
- file_util::WriteFile(kFilePath1, kTestFileData1, |
- arraysize(kTestFileData1) - 1)); |
+ base::WriteFile(kFilePath1, kTestFileData1, |
+ arraysize(kTestFileData1) - 1)); |
ASSERT_EQ(static_cast<int>(arraysize(kTestFileData2) - 1), |
- file_util::WriteFile(kFilePath2, kTestFileData2, |
- arraysize(kTestFileData2) - 1)); |
+ base::WriteFile(kFilePath2, kTestFileData2, |
+ arraysize(kTestFileData2) - 1)); |
// Record the usage. |
int64 usage = -1, new_usage = -1; |
@@ -932,8 +932,8 @@ TEST_F(LocalFileSyncContextTest, ApplyRemoteChangeForAddOrUpdate_NoParent) { |
// Prepare a temporary file which represents remote file data. |
const base::FilePath kFilePath(temp_dir.path().Append(FPL("file"))); |
ASSERT_EQ(static_cast<int>(arraysize(kTestFileData) - 1), |
- file_util::WriteFile(kFilePath, kTestFileData, |
- arraysize(kTestFileData) - 1)); |
+ base::WriteFile(kFilePath, kTestFileData, |
+ arraysize(kTestFileData) - 1)); |
// Calling ApplyChange's with kFilePath should create |
// kFile along with kDir. |