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

Unified Diff: chrome/utility/importer/firefox_importer.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 | « chrome/utility/importer/bookmark_html_reader.cc ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/firefox_importer.cc
diff --git a/chrome/utility/importer/firefox_importer.cc b/chrome/utility/importer/firefox_importer.cc
index b1a29a02db37bd38cb3d6811d0c14b967c2bb26d..e1474dbd683420e364364801c5dd87b94419248b 100644
--- a/chrome/utility/importer/firefox_importer.cc
+++ b/chrome/utility/importer/firefox_importer.cc
@@ -356,7 +356,7 @@ void FirefoxImporter::ImportPasswords() {
file = source_path.AppendASCII("signons2.txt");
std::string content;
- file_util::ReadFileToString(file, &content);
+ base::ReadFileToString(file, &content);
decryptor.ParseSignons(content, &forms);
}
@@ -430,7 +430,7 @@ void FirefoxImporter::GetSearchEnginesXMLData(
file = base::FilePath::FromUTF8Unsafe(engine);
}
std::string file_data;
- file_util::ReadFileToString(file, &file_data);
+ base::ReadFileToString(file, &file_data);
search_engine_data->push_back(file_data);
} while (s.Step() && !cancelled());
}
@@ -455,7 +455,7 @@ void FirefoxImporter::GetSearchEnginesXMLData(
for (base::FilePath engine_path = engines.Next();
!engine_path.value().empty(); engine_path = engines.Next()) {
std::string file_data;
- file_util::ReadFileToString(file, &file_data);
+ base::ReadFileToString(file, &file_data);
search_engine_data->push_back(file_data);
}
}
« no previous file with comments | « chrome/utility/importer/bookmark_html_reader.cc ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698