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

Unified Diff: chrome/common/importer/firefox_importer_utils.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android Created 5 years, 6 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/common/custom_handlers/protocol_handler.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/importer/firefox_importer_utils.cc
diff --git a/chrome/common/importer/firefox_importer_utils.cc b/chrome/common/importer/firefox_importer_utils.cc
index f82461433d994bb53b1cc2a28a2233218278a62b..2ca5c4c5d68938b166ee31175255984aa8a79d76 100644
--- a/chrome/common/importer/firefox_importer_utils.cc
+++ b/chrome/common/importer/firefox_importer_utils.cc
@@ -33,7 +33,7 @@ base::FilePath GetProfilePath(const base::DictionaryValue& root,
return base::FilePath();
#if defined(OS_WIN)
- ReplaceSubstringsAfterOffset(
+ base::ReplaceSubstringsAfterOffset(
&path16, 0, base::ASCIIToUTF16("/"), base::ASCIIToUTF16("\\"));
#endif
base::FilePath path = base::FilePath::FromUTF16Unsafe(path16);
@@ -136,7 +136,7 @@ bool GetFirefoxVersionAndPathFromProfile(const base::FilePath& profile_path,
profile_path.AppendASCII("compatibility.ini");
std::string content;
base::ReadFileToString(compatibility_file, &content);
- ReplaceSubstringsAfterOffset(&content, 0, "\r\n", "\n");
+ base::ReplaceSubstringsAfterOffset(&content, 0, "\r\n", "\n");
std::vector<std::string> lines;
base::SplitString(content, '\n', &lines);
« no previous file with comments | « chrome/common/custom_handlers/protocol_handler.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698