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

Unified Diff: cloud_print/service/win/cloud_print_service_config.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
Index: cloud_print/service/win/cloud_print_service_config.cc
diff --git a/cloud_print/service/win/cloud_print_service_config.cc b/cloud_print/service/win/cloud_print_service_config.cc
index 955682603dd1cfcf44120173f21e2a134a4d1b86..70f50c725f0aa7f2b835a0469477016bed70e2f1 100644
--- a/cloud_print/service/win/cloud_print_service_config.cc
+++ b/cloud_print/service/win/cloud_print_service_config.cc
@@ -389,7 +389,7 @@ void SetupDialog::Install(const base::string16& user,
if (contents.empty())
return ShowError(IDS_ERROR_FAILED_CREATE_CONFIG);
- size_t written = file_util::WriteFile(file, contents.c_str(),
+ size_t written = base::WriteFile(file, contents.c_str(),
contents.size());
if (written != contents.size()) {
DWORD last_error = GetLastError();
« no previous file with comments | « cloud_print/service/win/cloud_print_service.cc ('k') | components/autofill/core/browser/data_driven_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698