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

Unified Diff: base/sys_info_chromeos.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_metrics_linux.cc ('k') | base/sys_info_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_chromeos.cc
diff --git a/base/sys_info_chromeos.cc b/base/sys_info_chromeos.cc
index 1335760d03ca0ef3a89fd17d4de3f21840eb1ea9..4c1a7af56cb2a9dcc03d6dcfc93bf4cd19a459d4 100644
--- a/base/sys_info_chromeos.cc
+++ b/base/sys_info_chromeos.cc
@@ -54,7 +54,7 @@ void SysInfo::OperatingSystemVersionNumbers(int32* major_version,
FilePath path(kLinuxStandardBaseReleaseFile);
std::string contents;
- if (file_util::ReadFileToString(path, &contents)) {
+ if (ReadFileToString(path, &contents)) {
g_chrome_os_version_numbers.Get().parsed = true;
ParseLsbRelease(contents,
&(g_chrome_os_version_numbers.Get().major_version),
« no previous file with comments | « base/process/process_metrics_linux.cc ('k') | base/sys_info_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698