Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: chrome/browser/history/history_backend_unittest.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_backend_unittest.cc
diff --git a/chrome/browser/history/history_backend_unittest.cc b/chrome/browser/history/history_backend_unittest.cc
index 9a12517819948e87dbfd67fc1e38696fb71212e0..f53763f043a98732fdb9e8e59934ca3f8603c24e 100644
--- a/chrome/browser/history/history_backend_unittest.cc
+++ b/chrome/browser/history/history_backend_unittest.cc
@@ -2838,10 +2838,10 @@ TEST_F(HistoryBackendTest, DeleteFTSIndexDatabases) {
// Setup dummy index database files.
const char* data = "Dummy";
const size_t data_len = 5;
- ASSERT_TRUE(file_util::WriteFile(db1, data, data_len));
- ASSERT_TRUE(file_util::WriteFile(db1_journal, data, data_len));
- ASSERT_TRUE(file_util::WriteFile(db1_wal, data, data_len));
- ASSERT_TRUE(file_util::WriteFile(db2_actual, data, data_len));
+ ASSERT_TRUE(base::WriteFile(db1, data, data_len));
+ ASSERT_TRUE(base::WriteFile(db1_journal, data, data_len));
+ ASSERT_TRUE(base::WriteFile(db1_wal, data, data_len));
+ ASSERT_TRUE(base::WriteFile(db2_actual, data, data_len));
#if defined(OS_POSIX)
EXPECT_TRUE(base::CreateSymbolicLink(db2_actual, db2_symlink));
#endif
« no previous file with comments | « chrome/browser/google/google_update_settings_posix.cc ('k') | chrome/browser/history/redirect_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698