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

Unified Diff: trunk/src/chrome/tools/convert_dict/dic_reader.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
Index: trunk/src/chrome/tools/convert_dict/dic_reader.cc
===================================================================
--- trunk/src/chrome/tools/convert_dict/dic_reader.cc (revision 239399)
+++ trunk/src/chrome/tools/convert_dict/dic_reader.cc (working copy)
@@ -129,11 +129,11 @@
} // namespace
DicReader::DicReader(const base::FilePath& path) {
- file_ = base::OpenFile(path, "r");
+ file_ = file_util::OpenFile(path, "r");
base::FilePath additional_path =
path.ReplaceExtension(FILE_PATH_LITERAL("dic_delta"));
- additional_words_file_ = base::OpenFile(additional_path, "r");
+ additional_words_file_ = file_util::OpenFile(additional_path, "r");
if (additional_words_file_)
printf("Reading %" PRFilePath " ...\n", additional_path.value().c_str());
@@ -143,9 +143,9 @@
DicReader::~DicReader() {
if (file_)
- base::CloseFile(file_);
+ file_util::CloseFile(file_);
if (additional_words_file_)
- base::CloseFile(additional_words_file_);
+ file_util::CloseFile(additional_words_file_);
}
bool DicReader::Read(AffReader* aff_reader) {

Powered by Google App Engine
This is Rietveld 408576698