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

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

Issue 109043002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: chrome/browser/history/thumbnail_database_unittest.cc
diff --git a/chrome/browser/history/thumbnail_database_unittest.cc b/chrome/browser/history/thumbnail_database_unittest.cc
index 5e72eb7c935f1c92f6b4de577e7b31d3f1ed4e9e..6e00e62202ea8e0b0710c8b8335a7a53fc7c6044 100644
--- a/chrome/browser/history/thumbnail_database_unittest.cc
+++ b/chrome/browser/history/thumbnail_database_unittest.cc
@@ -83,7 +83,7 @@ int GetRootPage(sql::Connection* db, const char* name) {
// per SQLite usage.
bool ReadPage(const base::FilePath& path, size_t page_no,
char* buf, size_t page_size) {
- file_util::ScopedFILE file(file_util::OpenFile(path, "rb"));
+ file_util::ScopedFILE file(base::OpenFile(path, "rb"));
if (!file.get())
return false;
if (0 != fseek(file.get(), (page_no - 1) * page_size, SEEK_SET))
@@ -97,7 +97,7 @@ bool ReadPage(const base::FilePath& path, size_t page_no,
// per SQLite usage.
bool WritePage(const base::FilePath& path, size_t page_no,
const char* buf, size_t page_size) {
- file_util::ScopedFILE file(file_util::OpenFile(path, "rb+"));
+ file_util::ScopedFILE file(base::OpenFile(path, "rb+"));
if (!file.get())
return false;
if (0 != fseek(file.get(), (page_no - 1) * page_size, SEEK_SET))
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/importer/firefox_profile_lock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698