-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update search engines #9397
Update search engines #9397
Conversation
496eb6b
to
af2392f
Compare
af2392f
to
1552309
Compare
9418a18
to
211bc35
Compare
@@ -159,66 +159,97 @@ const std::map<int, const std::vector<BravePrepopulatedEngineID>*> | |||
|
|||
// A versioned map tracking the singular default search engine per-country. | |||
BravePrepopulatedEngineID GetDefaultSearchEngine(int country_id, int version) { | |||
const BravePrepopulatedEngineID default_v6 = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cpplint complained about a chunk of this, so I just ran the whole function through clang-format
{country_codes::CountryCharsToCountryID('U', 'Z'), | ||
PREPOPULATED_ENGINE_ID_YANDEX}, | ||
}); | ||
static const base::NoDestructor< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the only real change (in this file); adding a v16 and then below looking for > 15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a small comment/question on removing the unit tests (vs updating expectations)
chromium_src/components/search_engines/brave_template_url_prepopulate_data_unittest.cc
Outdated
Show resolved
Hide resolved
211bc35
to
7ba89f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Verified
and
Steps:
|
NOTE: unfortunately, this pull request caused brave/brave-browser#16950 If we uplift this PR, we'll also want to uplift #9486 |
Fixes brave/brave-browser#16825
Fixes brave/brave-browser#16870
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: