diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-07 00:04:53 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-07 00:04:53 +0000 |
commit | 5a6ddb19886d009376be90a25b14e5a10a26b586 (patch) | |
tree | a4b11d08ca7feee8ccbef9074fe16b0b1f78f0db /cloud_print/virtual_driver | |
parent | b2ed3971b1a3a1f13c95d5144652e6c519c10c47 (diff) | |
download | chromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.zip chromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.tar.gz chromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.tar.bz2 |
Move more file_util functions to base namespace.
TBR=sky
Review URL: https://codereview.chromium.org/109043002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/virtual_driver')
-rw-r--r-- | cloud_print/virtual_driver/win/port_monitor/port_monitor.cc | 6 |
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 6171296..a905be1 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) { - file_util::CloseFile(file); + base::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 = file_util::OpenFile(file_path, "wb+"); + port_data->file = base::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) { - file_util::CloseFile(port_data->file); + base::CloseFile(port_data->file); port_data->file = NULL; bool delete_file = true; int64 file_size = 0; |