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

Unified Diff: base/process/process_linux.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/process_iterator_linux.cc ('k') | base/process/process_metrics_linux.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 93006aafe597f9733fd5627cd341e81c56b02fb6..b12e994848d67e4ef4ff9002fe6faf52fcb56031 100644
--- a/base/process/process_linux.cc
+++ b/base/process/process_linux.cc
@@ -70,9 +70,9 @@ bool Process::IsProcessBackgrounded() const {
#if defined(OS_CHROMEOS)
if (cgroups.Get().enabled) {
std::string proc;
- if (file_util::ReadFileToString(
- base::FilePath(StringPrintf(kProcPath, process_)),
- &proc)) {
+ if (base::ReadFileToString(
+ base::FilePath(StringPrintf(kProcPath, process_)),
+ &proc)) {
std::vector<std::string> proc_parts;
base::SplitString(proc, ':', &proc_parts);
DCHECK(proc_parts.size() == 3);
« no previous file with comments | « base/process/process_iterator_linux.cc ('k') | base/process/process_metrics_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698