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

Unified Diff: chrome/browser/value_store/leveldb_value_store_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/value_store/leveldb_value_store_unittest.cc
diff --git a/chrome/browser/value_store/leveldb_value_store_unittest.cc b/chrome/browser/value_store/leveldb_value_store_unittest.cc
index 67fc3821cffcc69676497c7f360672d6241fde6a..f6fa99f5427bb39f848b99641943f6e3669f323a 100644
--- a/chrome/browser/value_store/leveldb_value_store_unittest.cc
+++ b/chrome/browser/value_store/leveldb_value_store_unittest.cc
@@ -166,7 +166,7 @@ TEST_F(LeveldbValueStoreUnitTest, RestoreFullDatabase) {
for (base::FilePath file = enumerator.Next(); !file.empty();
file = enumerator.Next()) {
// WriteFile() failure is a result of -1.
- ASSERT_NE(file_util::WriteFile(file, kLolCats.c_str(), kLolCats.length()),
+ ASSERT_NE(base::WriteFile(file, kLolCats.c_str(), kLolCats.length()),
-1);
}
OpenStore();

Powered by Google App Engine
This is Rietveld 408576698