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

Unified Diff: chrome/browser/extensions/api/push_messaging/sync_setup_helper.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/extensions/api/push_messaging/sync_setup_helper.cc
diff --git a/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc b/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc
index f4dffc3e9160c6592938b55fa89e73b636f5d378..51fc4b3f7f98d4f325910012d24fcf8f9249fcba 100644
--- a/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc
+++ b/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc
@@ -50,7 +50,7 @@ bool SyncSetupHelper::InitializeSync(Profile* profile) {
bool SyncSetupHelper::ReadPasswordFile(const base::FilePath& password_file) {
// TODO(dcheng): Convert format of config file to JSON.
std::string file_contents;
- bool success = file_util::ReadFileToString(password_file, &file_contents);
+ bool success = base::ReadFileToString(password_file, &file_contents);
EXPECT_TRUE(success)
<< "Password file \""
<< password_file.value() << "\" does not exist.";

Powered by Google App Engine
This is Rietveld 408576698