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

Unified Diff: base/process/internal_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/json/json_reader_unittest.cc ('k') | base/process/process_iterator_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/internal_linux.cc
diff --git a/base/process/internal_linux.cc b/base/process/internal_linux.cc
index ee1107c1792aa44cf4e3a4bb3086562d98ea4820..b1d1b6f174edb206e57bd3705ae071bad9da5af4 100644
--- a/base/process/internal_linux.cc
+++ b/base/process/internal_linux.cc
@@ -54,7 +54,7 @@ bool ReadProcFile(const FilePath& file, std::string* buffer) {
// Synchronously reading files in /proc is safe.
ThreadRestrictions::ScopedAllowIO allow_io;
- if (!file_util::ReadFileToString(file, buffer)) {
+ if (!ReadFileToString(file, buffer)) {
DLOG(WARNING) << "Failed to read " << file.MaybeAsASCII();
return false;
}
« no previous file with comments | « base/json/json_reader_unittest.cc ('k') | base/process/process_iterator_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698