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

Unified Diff: chromeos/dbus/session_manager_client.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 | « chromeos/dbus/cros_disks_client.cc ('k') | chromeos/process_proxy/process_output_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/session_manager_client.cc
diff --git a/chromeos/dbus/session_manager_client.cc b/chromeos/dbus/session_manager_client.cc
index c01f28f759002025b96366e910dc75f74e3c946b..737a9be3786463fd6e0d8995fdb76e3a240d56af 100644
--- a/chromeos/dbus/session_manager_client.cc
+++ b/chromeos/dbus/session_manager_client.cc
@@ -611,7 +611,7 @@ class SessionManagerClientStubImpl : public SessionManagerClient {
const std::string& data) {
const int size = static_cast<int>(data.size());
if (!base::CreateDirectory(path.DirName()) ||
- file_util::WriteFile(path, data.data(), size) != size) {
+ base::WriteFile(path, data.data(), size) != size) {
LOG(WARNING) << "Failed to write policy key to " << path.value();
}
}
« no previous file with comments | « chromeos/dbus/cros_disks_client.cc ('k') | chromeos/process_proxy/process_output_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698