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

Unified Diff: remoting/host/setup/daemon_controller_delegate_mac.mm

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 | « remoting/host/json_host_config_unittest.cc ('k') | skia/ext/image_operations_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/daemon_controller_delegate_mac.mm
diff --git a/remoting/host/setup/daemon_controller_delegate_mac.mm b/remoting/host/setup/daemon_controller_delegate_mac.mm
index bb27e887ed1339a6005467b28bd0325154af71a1..c2926b0f2cb0ae13d21b350fb275f43cbbbc3aea 100644
--- a/remoting/host/setup/daemon_controller_delegate_mac.mm
+++ b/remoting/host/setup/daemon_controller_delegate_mac.mm
@@ -230,7 +230,7 @@ bool DaemonControllerDelegateMac::DoShowPreferencePane(
}
config_path = config_path.Append(kHostConfigFileName);
- int written = file_util::WriteFile(config_path, config_data.data(),
+ int written = base::WriteFile(config_path, config_data.data(),
config_data.size());
if (written != static_cast<int>(config_data.size())) {
LOG(ERROR) << "Failed to save configuration data to: "
« no previous file with comments | « remoting/host/json_host_config_unittest.cc ('k') | skia/ext/image_operations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698