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

Unified Diff: cloud_print/service/win/chrome_launcher.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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
« no previous file with comments | « cloud_print/gcp20/prototype/printer_state.cc ('k') | cloud_print/service/win/cloud_print_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/win/chrome_launcher.cc
diff --git a/cloud_print/service/win/chrome_launcher.cc b/cloud_print/service/win/chrome_launcher.cc
index f6b863ecd9d567e7d31001e70b3d96fb3636435d..f0cac5e3ea0ce9c82d2cc1d7dbd07a74d63ab75b 100644
--- a/cloud_print/service/win/chrome_launcher.cc
+++ b/cloud_print/service/win/chrome_launcher.cc
@@ -292,9 +292,9 @@ std::string ChromeLauncher::CreateServiceStateFile(
printer_list.AppendStrings(printers);
std::string printers_json;
base::JSONWriter::Write(&printer_list, &printers_json);
- size_t written = file_util::WriteFile(printers_file,
- printers_json.c_str(),
- printers_json.size());
+ size_t written = base::WriteFile(printers_file,
+ printers_json.c_str(),
+ printers_json.size());
if (written != printers_json.size()) {
LOG(ERROR) << "Can't write file.";
return result;
« no previous file with comments | « cloud_print/gcp20/prototype/printer_state.cc ('k') | cloud_print/service/win/cloud_print_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698