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

Unified Diff: chrome/browser/importer/in_process_importer_bridge.cc

Issue 2487633003: Change behaivor to decide whether a search engine should be shown in the default list (Closed)
Patch Set: Update based on Peter and Nicolas's comments. Created 4 years, 1 month 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/importer/in_process_importer_bridge.cc
diff --git a/chrome/browser/importer/in_process_importer_bridge.cc b/chrome/browser/importer/in_process_importer_bridge.cc
index ac46d8dc150ff8812b4b02522439f5f75aa8e947..e824b38ec3d4da0416e5903509c106bc5f80dedf 100644
--- a/chrome/browser/importer/in_process_importer_bridge.cc
+++ b/chrome/browser/importer/in_process_importer_bridge.cc
@@ -127,8 +127,8 @@ void ParseSearchEnginesFromFirefoxXMLData(
for (std::vector<std::string>::const_iterator xml_iter =
xml_data.begin(); xml_iter != xml_data.end(); ++xml_iter) {
std::unique_ptr<TemplateURL> template_url = TemplateURLParser::Parse(
- UIThreadSearchTermsData(nullptr), true, xml_iter->data(),
- xml_iter->length(), &param_filter);
+ UIThreadSearchTermsData(nullptr), xml_iter->data(), xml_iter->length(),
+ &param_filter);
if (template_url) {
auto iter = search_engine_for_url.find(template_url->url());
if (iter == search_engine_for_url.end()) {
« no previous file with comments | « chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698