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

Unified Diff: courgette/courgette_tool.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 | « courgette/base_test_unittest.cc ('k') | extensions/browser/file_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/courgette_tool.cc
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc
index 1d8b77d813daab32f52fb77d4f335e98bcd48117..3b231f8957f42b6ebd88dc3a6bfb83dc9e56631f 100644
--- a/courgette/courgette_tool.cc
+++ b/courgette/courgette_tool.cc
@@ -53,7 +53,7 @@ std::string ReadOrFail(const base::FilePath& file_name, const char* kind) {
Problem("Can't read %s file.", kind);
std::string buffer;
buffer.reserve(static_cast<size_t>(file_size));
- if (!file_util::ReadFileToString(file_name, &buffer))
+ if (!base::ReadFileToString(file_name, &buffer))
Problem("Can't read %s file.", kind);
return buffer;
}
« no previous file with comments | « courgette/base_test_unittest.cc ('k') | extensions/browser/file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698