Index: cloud_print/gcp20/prototype/print_job_handler.cc |
diff --git a/cloud_print/gcp20/prototype/print_job_handler.cc b/cloud_print/gcp20/prototype/print_job_handler.cc |
index 48ba76ec85b4b7a484bbefc950c95657c9516462..e2752661b6879de86c5a40d0992601d8c4fd7014 100644 |
--- a/cloud_print/gcp20/prototype/print_job_handler.cc |
+++ b/cloud_print/gcp20/prototype/print_job_handler.cc |
@@ -235,15 +235,15 @@ bool PrintJobHandler::SavePrintJob(const std::string& content, |
return false; |
} |
- int written = file_util::WriteFile(directory.AppendASCII("ticket.xml"), |
- ticket.data(), |
- static_cast<int>(ticket.size())); |
+ int written = base::WriteFile(directory.AppendASCII("ticket.xml"), |
+ ticket.data(), |
+ static_cast<int>(ticket.size())); |
if (static_cast<size_t>(written) != ticket.size()) { |
LOG(WARNING) << "Cannot save ticket."; |
return false; |
} |
- written = file_util::WriteFile( |
+ written = base::WriteFile( |
directory.AppendASCII("data." + file_extension), |
content.data(), static_cast<int>(content.size())); |
if (static_cast<size_t>(written) != content.size()) { |