summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/printer_job_handler.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-06 20:42:30 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-06 20:42:30 +0000
commite5c2a22eb106e0fef92bbf80ac8bf2429980cc4e (patch)
tree480bf91e3cf64d69f837a2f22f8fc868bf17dfdc /chrome/service/cloud_print/printer_job_handler.cc
parent06b1d42b0ceadd4a70b7462c5c7e6adeb5a18ca4 (diff)
downloadchromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.zip
chromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.tar.gz
chromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.tar.bz2
Move WriteFile and WriteFileDescriptor from file_util to base namespace.
R=viettrungluu@chromium.org TBR=viettrungluu Review URL: https://codereview.chromium.org/184563006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/cloud_print/printer_job_handler.cc')
-rw-r--r--chrome/service/cloud_print/printer_job_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/service/cloud_print/printer_job_handler.cc b/chrome/service/cloud_print/printer_job_handler.cc
index bb13def..f92ca1b 100644
--- a/chrome/service/cloud_print/printer_job_handler.cc
+++ b/chrome/service/cloud_print/printer_job_handler.cc
@@ -387,8 +387,8 @@ PrinterJobHandler::HandlePrintDataResponse(const net::URLFetcher* source,
if (base::CreateTemporaryFile(&job_details_.print_data_file_path_)) {
UMA_HISTOGRAM_ENUMERATION("CloudPrint.JobHandlerEvent", JOB_HANDLER_DATA,
JOB_HANDLER_MAX);
- int ret = file_util::WriteFile(job_details_.print_data_file_path_,
- data.c_str(), data.length());
+ int ret = base::WriteFile(job_details_.print_data_file_path_,
+ data.c_str(), data.length());
source->GetResponseHeaders()->GetMimeType(
&job_details_.print_data_mime_type_);
DCHECK(ret == static_cast<int>(data.length()));