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

Unified Diff: chrome/tools/convert_dict/aff_reader.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
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/convert_dict/aff_reader.cc
diff --git a/chrome/tools/convert_dict/aff_reader.cc b/chrome/tools/convert_dict/aff_reader.cc
index b6ad12c25255109b6252e6b5c3f32efbe8860583..6ef94a8f2e8497fadfca23675d97dc868f60b972 100644
--- a/chrome/tools/convert_dict/aff_reader.cc
+++ b/chrome/tools/convert_dict/aff_reader.cc
@@ -60,7 +60,7 @@ void Panic(const char* fmt, ...) {
AffReader::AffReader(const base::FilePath& path)
: has_indexed_affixes_(false) {
- file_ = file_util::OpenFile(path, "r");
+ file_ = base::OpenFile(path, "r");
// Default to Latin1 in case the file doesn't specify it.
encoding_ = "ISO8859-1";
@@ -68,7 +68,7 @@ AffReader::AffReader(const base::FilePath& path)
AffReader::~AffReader() {
if (file_)
- file_util::CloseFile(file_);
+ base::CloseFile(file_);
}
bool AffReader::Read() {
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698