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

Unified Diff: chrome/tools/convert_dict/convert_dict.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/tools/convert_dict/aff_reader.cc ('k') | chrome/tools/convert_dict/dic_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/convert_dict/convert_dict.cc
diff --git a/chrome/tools/convert_dict/convert_dict.cc b/chrome/tools/convert_dict/convert_dict.cc
index 02cafe3d1660cc56e9d3bcd25de682653057ec49..3c2c6da39957e6665930b045919082d501e48b24 100644
--- a/chrome/tools/convert_dict/convert_dict.cc
+++ b/chrome/tools/convert_dict/convert_dict.cc
@@ -136,14 +136,14 @@ int main(int argc, char* argv[]) {
base::FilePath out_path =
file_base.ReplaceExtension(FILE_PATH_LITERAL(".bdic"));
printf("Writing %" PRFilePath " ...\n", out_path.value().c_str());
- FILE* out_file = file_util::OpenFile(out_path, "wb");
+ FILE* out_file = base::OpenFile(out_path, "wb");
if (!out_file) {
printf("ERROR writing file\n");
return 1;
}
size_t written = fwrite(&serialized[0], 1, serialized.size(), out_file);
CHECK(written == serialized.size());
- file_util::CloseFile(out_file);
+ base::CloseFile(out_file);
return 0;
}
« no previous file with comments | « chrome/tools/convert_dict/aff_reader.cc ('k') | chrome/tools/convert_dict/dic_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698