-
Notifications
You must be signed in to change notification settings - Fork 887
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
WIP: Implement Tor profile based on incognito profile #2724
Conversation
…ew OTR with Tor profile from a regular profile.
…ated Tor profile upon chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED notification.
…rror has changed to update error UI in Tor windows as well.
- Open the download page for tor profiles with downloads in progress. - Include non-malicious download count from tor profile when getting the count for all profiles. - Check Tor profile as well for most recent download item. - Check Tor profile as well for in progress downloads in app_controller_mac.
profile if its original profile is destroyed.
- Create lazy background host when extension loaded - Notify queued tasks when a lazy background page has failed to load
da45906
to
b2361ac
Compare
…ain. Guest window is only destroyed when browser shuts down, so we only expect to kill tor process while browser exits before when Tor profile is based on guest window. By basing on incognito profile, now our Tor profile will be destroyed when all Tor windows are closed, so Tor process will be killed when there is no Tor windows. We need to reset TorLauncherFactory::tor_pid_ when it is killed so we will trigger launching Tor process when creating Tor profile again. And reinit TorLauncherFactory tor_launcher_ when needed.
d40b183
to
da2892b
Compare
- Remove Tor button in avatar menu - Update text for title card and exit button to use Tor
da2892b
to
22588cd
Compare
22588cd
to
644e1d7
Compare
@riastradh-brave @bridiver @iefremov @darkdh This is still a WIP that have some todo items listed in above comment, but I would like to ask for feedbacks first. |
Question - With this PR, we will have two OTR profiles (for private and tor). |
@simonhong We want to have separate profiles between Private Window with Tor and Private Window, @riastradh-brave please correct me if I'm wrong. |
@yrliou Yup, I just worried about using two different OTR with one normal profile because upstream uses 1:1 matching between them. |
Is this PR abandoned? |
Seems so, because brave/brave-browser#2307 is already closed. |
This has been superseded by #3319. |
Fix brave/brave-browser#2307
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.