-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Profile::OTRProfileID::CreateFromProfileID() via chromium override
The constructor Profile::OTRProfileID::OTRProfileID is private now, so we need a way of creating an instance from Brave's TorProfileManager that doesn't require access to Profile::OTRProfileID's private members. Chromium change: https://chromium.googlesource.com/chromium/src.git/+/990446325f38f9c1cdc22d6b1703aa0554089424 commit 990446325f38f9c1cdc22d6b1703aa0554089424 Author: Ramin Halavati <[email protected]> Date: Mon Apr 19 12:10:37 2021 +0000 Make OTRProfileID constructor private. OTRProfileID constructor is made private to reduce the possibility of using duplicate ids and making MakeUnique function more visible. OTRProfileID::CreateUniqueForTesting() is added to be used as a shorthand in tests since we don't need specific id prefixes in tests. This CL does not change any behavior. Bug: 1196661
- Loading branch information
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters