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

Unified Diff: trunk/src/cloud_print/virtual_driver/win/port_monitor/port_monitor.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/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
===================================================================
--- trunk/src/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc (revision 239399)
+++ trunk/src/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc (working copy)
@@ -62,7 +62,7 @@
printer_handle = NULL;
}
if (file) {
- base::CloseFile(file);
+ file_util::CloseFile(file);
file = NULL;
}
}
@@ -433,7 +433,7 @@
LOG(ERROR) << "Can't create temporary file in " << app_data_dir.value();
return FALSE;
}
- port_data->file = base::OpenFile(file_path, "wb+");
+ port_data->file = file_util::OpenFile(file_path, "wb+");
if (port_data->file == NULL) {
LOG(ERROR) << "Error opening file " << file_path.value() << ".";
return FALSE;
@@ -478,7 +478,7 @@
}
if (port_data->file != NULL) {
- base::CloseFile(port_data->file);
+ file_util::CloseFile(port_data->file);
port_data->file = NULL;
bool delete_file = true;
int64 file_size = 0;
« no previous file with comments | « trunk/src/chrome/tools/convert_dict/dic_reader.cc ('k') | trunk/src/components/visitedlink/browser/visitedlink_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698