-
Notifications
You must be signed in to change notification settings - Fork 904
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
Remove mojo KeyringInfo and lazy keyrings #20488
Conversation
35f1299
to
dfd5172
Compare
dfd5172
to
95ebc19
Compare
A Storybook has been deployed to preview UI for the latest push |
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.
++ Wallet Front-end
95ebc19
to
a97adf1
Compare
A Storybook has been deployed to preview UI for the latest push |
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.
iOS ++
a97adf1
to
f127942
Compare
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
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.
no concerns from sec perspective
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
73f2b4f
to
6abc90a
Compare
A Storybook has been deployed to preview UI for the latest push |
@@ -130,8 +130,7 @@ bool BraveRendererUpdater::CheckActiveWallet() { | |||
if (!keyring_service_) { | |||
return false; | |||
} | |||
bool is_wallet_created = keyring_service_->IsKeyringCreated( | |||
brave_wallet::mojom::kDefaultKeyringId); | |||
bool is_wallet_created = keyring_service_->IsWalletCreatedSync(); |
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 actually an anti-pattern here for prefs that I brought up recently in the dev channel. It creates a dependency for wallet on the KeyringService that shouldn't be necessary here. I would pass the raw value of the pref and have a helper in common to replace KeyringService::IsWalletCreatedSync
Resolves brave/brave-browser#33563
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
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: