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

Unified Diff: trunk/src/sql/connection_unittest.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
« no previous file with comments | « trunk/src/skia/ext/vector_canvas_unittest.cc ('k') | trunk/src/sql/test/test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/sql/connection_unittest.cc
===================================================================
--- trunk/src/sql/connection_unittest.cc (revision 239399)
+++ trunk/src/sql/connection_unittest.cc (working copy)
@@ -423,10 +423,10 @@
db().Close();
{
- file_util::ScopedFILE file(base::OpenFile(db_path(), "rb+"));
+ file_util::ScopedFILE file(file_util::OpenFile(db_path(), "rb+"));
ASSERT_TRUE(file.get() != NULL);
ASSERT_EQ(0, fseek(file.get(), 0, SEEK_SET));
- ASSERT_TRUE(base::TruncateFile(file.get()));
+ ASSERT_TRUE(file_util::TruncateFile(file.get()));
}
ASSERT_TRUE(db().Open(db_path()));
@@ -441,7 +441,7 @@
ASSERT_FALSE(base::PathExists(db_path()));
{
- file_util::ScopedFILE file(base::OpenFile(db_path(), "wb"));
+ file_util::ScopedFILE file(file_util::OpenFile(db_path(), "wb"));
ASSERT_TRUE(file.get() != NULL);
const char* kJunk = "This is the hour of our discontent.";
@@ -474,7 +474,7 @@
db().Close();
{
- file_util::ScopedFILE file(base::OpenFile(db_path(), "rb+"));
+ file_util::ScopedFILE file(file_util::OpenFile(db_path(), "rb+"));
ASSERT_TRUE(file.get() != NULL);
ASSERT_EQ(0, fseek(file.get(), 0, SEEK_SET));
« no previous file with comments | « trunk/src/skia/ext/vector_canvas_unittest.cc ('k') | trunk/src/sql/test/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698