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

Unified Diff: base/process/process_linux.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 | « base/process/memory_linux.cc ('k') | base/sync_socket_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_linux.cc
diff --git a/base/process/process_linux.cc b/base/process/process_linux.cc
index b12e994848d67e4ef4ff9002fe6faf52fcb56031..c5acf1bd431cbd9198dac8d5611c99e1a4cf8497 100644
--- a/base/process/process_linux.cc
+++ b/base/process/process_linux.cc
@@ -95,7 +95,7 @@ bool Process::SetProcessBackgrounded(bool background) {
const base::FilePath file =
background ?
cgroups.Get().background_file : cgroups.Get().foreground_file;
- return file_util::WriteFile(file, pid.c_str(), pid.size()) > 0;
+ return base::WriteFile(file, pid.c_str(), pid.size()) > 0;
}
#endif // OS_CHROMEOS
« no previous file with comments | « base/process/memory_linux.cc ('k') | base/sync_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698