-
Notifications
You must be signed in to change notification settings - Fork 896
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
Consider Qwant search provider as a initial provider in tor window #647
Conversation
If Qwant is default prepopulate search provider, use it as an initial search engine provider of tor window. Otherwise, DDG is used. When user changes search provider setting, it will be persisted.
74bbf03
to
cd8ede4
Compare
@@ -18,14 +19,13 @@ TorWindowSearchEngineProviderController(Profile* profile) | |||
|
|||
alternative_search_engine_provider_in_tor_.Init( | |||
kAlternativeSearchEngineProviderInTor, | |||
otr_profile_->GetOriginalProfile()->GetPrefs()); | |||
profile->GetOriginalProfile()->GetPrefs()); |
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.
can you explain why GetOriginalProfile from regular profile? That will just return itself
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.
|profile| is off the record profile.
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.
I see. I just checked the caller.
Tried it:
|
So does this fix #647? |
@riastradh-brave I think you meant brave/brave-browser#1607 |
@darkdh oops, yes, I did mean brave/brave-browser#1607. |
@riastradh-brave no- that is fixed with #654 I believe |
Consider Qwant search provider as a initial provider in tor window
Consider Qwant search provider as a initial provider in tor window
Consider Qwant search provider as a initial provider in tor window
If Qwant is default prepopulate search provider, use it as an
initial search engine provider of tor window. Otherwise, DDG is used.
When user changes search provider setting, it will be persisted.
Fixes brave/brave-browser#1514
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: