summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver/win
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 21:31:42 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 21:31:42 +0000
commita4f7378f973b38400f133958842eb36db0b61dcb (patch)
tree3ffb843e14698a63c4b5f1bac43cdcf1f4e1402e /cloud_print/virtual_driver/win
parent76b4b15804dafa5e586738bd7c8ac12fea6ddec2 (diff)
downloadchromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.zip
chromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.tar.gz
chromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.tar.bz2
Revert 239280 "Move more file_util functions to base namespace."
dbus_unittests started fialing on Linux Tests (dbg)(2) and Linux Tests (dbg)(2)(32). This CL is the only in the intersection of CLs in the first failing build on the two builders, so giving a speculative revert a try (rlarocque already tried a clobber, it didn't help). http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/41806 http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/builds/8544 > Move more file_util functions to base namespace. > > TBR=sky > > Review URL: https://codereview.chromium.org/109043002 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/105823009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/virtual_driver/win')
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
index a905be1..6171296 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -62,7 +62,7 @@ struct PortData {
printer_handle = NULL;
}
if (file) {
- base::CloseFile(file);
+ file_util::CloseFile(file);
file = NULL;
}
}
@@ -433,7 +433,7 @@ BOOL WINAPI Monitor2StartDocPort(HANDLE port_handle,
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 @@ BOOL WINAPI Monitor2EndDocPort(HANDLE port_handle) {
}
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;