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

Unified Diff: tools/gn/command_gyp.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 | « tools/android/device_stats_monitor/device_stats_monitor.cc ('k') | tools/gn/function_read_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_gyp.cc
diff --git a/tools/gn/command_gyp.cc b/tools/gn/command_gyp.cc
index 80b23cbd2057d43ef56008394c3ec46d4d269657..736f7e12754e268c62e1496e01da68fd6b2bc244 100644
--- a/tools/gn/command_gyp.cc
+++ b/tools/gn/command_gyp.cc
@@ -69,7 +69,7 @@ bool SimpleNinjaParse(const std::string& data,
bool FixupBuildNinja(const BuildSettings* build_settings,
const base::FilePath& buildfile) {
std::string contents;
- if (!file_util::ReadFileToString(buildfile, &contents)) {
+ if (!base::ReadFileToString(buildfile, &contents)) {
Err(Location(), "Could not load " + FilePathToUTF8(buildfile))
.PrintToStdout();
return false;
« no previous file with comments | « tools/android/device_stats_monitor/device_stats_monitor.cc ('k') | tools/gn/function_read_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698