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

Unified Diff: chrome/browser/diagnostics/recon_diagnostics.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
Index: chrome/browser/diagnostics/recon_diagnostics.cc
diff --git a/chrome/browser/diagnostics/recon_diagnostics.cc b/chrome/browser/diagnostics/recon_diagnostics.cc
index c59c35c754fb773007528dfebd44c19749d57ccb..185c9e2b106c98a6257a9d6ea8ed2286aec93278 100644
--- a/chrome/browser/diagnostics/recon_diagnostics.cc
+++ b/chrome/browser/diagnostics/recon_diagnostics.cc
@@ -203,7 +203,7 @@ class JSONTest : public DiagnosticsTest {
}
// Being small enough, we can process it in-memory.
std::string json_data;
- if (!file_util::ReadFileToString(path_, &json_data)) {
+ if (!base::ReadFileToString(path_, &json_data)) {
RecordFailure(DIAG_RECON_UNABLE_TO_OPEN_FILE,
"Could not open file. Possibly locked by another process");
return true;
« no previous file with comments | « chrome/browser/component_updater/default_component_installer.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698