Index: webkit/browser/database/database_tracker_unittest.cc |
diff --git a/webkit/browser/database/database_tracker_unittest.cc b/webkit/browser/database/database_tracker_unittest.cc |
index 6422ac109a04561ecdb4d02061f168f5af2e62cc..2e8b1217f526bc039213a943a184b72fddb00a79 100644 |
--- a/webkit/browser/database/database_tracker_unittest.cc |
+++ b/webkit/browser/database/database_tracker_unittest.cc |
@@ -229,11 +229,11 @@ class DatabaseTracker_TestHelper_Test { |
EXPECT_TRUE(base::CreateDirectory( |
tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( |
tracker->GetOriginDirectory(kOrigin2))))); |
- EXPECT_EQ(1, file_util::WriteFile( |
+ EXPECT_EQ(1, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin1, kDB1), "a", 1)); |
- EXPECT_EQ(2, file_util::WriteFile( |
+ EXPECT_EQ(2, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin2, kDB2), "aa", 2)); |
- EXPECT_EQ(3, file_util::WriteFile( |
+ EXPECT_EQ(3, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin2, kDB3), "aaa", 3)); |
tracker->DatabaseModified(kOrigin1, kDB1); |
tracker->DatabaseModified(kOrigin2, kDB2); |
@@ -261,7 +261,7 @@ class DatabaseTracker_TestHelper_Test { |
EXPECT_TRUE(base::CreateDirectory( |
tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( |
tracker->GetOriginDirectory(kOrigin1))))); |
- EXPECT_EQ(1, file_util::WriteFile( |
+ EXPECT_EQ(1, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin1, kDB1), "a", 1)); |
tracker->DatabaseModified(kOrigin1, kDB1); |
@@ -357,11 +357,11 @@ class DatabaseTracker_TestHelper_Test { |
EXPECT_TRUE(base::CreateDirectory( |
tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( |
tracker->GetOriginDirectory(kOrigin2))))); |
- EXPECT_EQ(1, file_util::WriteFile( |
+ EXPECT_EQ(1, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin1, kDB1), "a", 1)); |
- EXPECT_EQ(2, file_util::WriteFile( |
+ EXPECT_EQ(2, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin2, kDB2), "aa", 2)); |
- EXPECT_EQ(4, file_util::WriteFile( |
+ EXPECT_EQ(4, base::WriteFile( |
tracker->GetFullDBFilePath(kOrigin1, kDB3), "aaaa", 4)); |
tracker->DatabaseModified(kOrigin1, kDB1); |
CheckNotificationReceived(&observer1, kOrigin1, kDB1, 1); |