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

Unified Diff: chromeos/system/name_value_pairs_parser.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 | « chromeos/network/onc/onc_test_utils.cc ('k') | cloud_print/gcp20/prototype/printer_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/name_value_pairs_parser.cc
diff --git a/chromeos/system/name_value_pairs_parser.cc b/chromeos/system/name_value_pairs_parser.cc
index 091e1fc346836d8327f6dcc7972513956f87668f..31ba010de1fa1c68f33a1475430b76ec1842a3fa 100644
--- a/chromeos/system/name_value_pairs_parser.cc
+++ b/chromeos/system/name_value_pairs_parser.cc
@@ -123,7 +123,7 @@ bool NameValuePairsParser::GetNameValuePairsFromFile(
const std::string& eq,
const std::string& delim) {
std::string contents;
- if (file_util::ReadFileToString(file_path, &contents)) {
+ if (base::ReadFileToString(file_path, &contents)) {
return ParseNameValuePairs(contents, eq, delim);
} else {
LOG(WARNING) << "Unable to read statistics file: " << file_path.value();
« no previous file with comments | « chromeos/network/onc/onc_test_utils.cc ('k') | cloud_print/gcp20/prototype/printer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698