-
Notifications
You must be signed in to change notification settings - Fork 869
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
Use geo country returned from Rewards connect endpoints #20151
Conversation
Instead of overriding CreateOriginLabel just for Password Manager override FormatOriginForSecurityDisplay for global replacement of chrome:// for brave://.
&ConnectBitFlyerWallet::OnConnect, base::Unretained(this), | ||
std::move(callback), std::move(token), std::move(address), std::string()); | ||
auto on_connect = | ||
base::BindOnce(&ConnectBitFlyerWallet::OnConnect, base::Unretained(this), |
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.
reported by reviewdog 🐶
[semgrep] base::Unretained is most of the time unrequited, and a weak reference is better suited for secure coding.
Consider swapping Unretained for a weak reference.
base::Unretained usage may be acceptable when a callback owner is guaranteed
to be destroyed with the object base::Unretained is pointing to, for example:
- PrefChangeRegistrar
- base::*Timer
- mojo::Receiver
- any other class member destroyed when the class is deallocated
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/c/chromium-uaf.yaml
Cc @thypon @goodov @iefremov
components/brave_rewards/core/wallet_provider/zebpay/connect_zebpay_wallet.cc
Show resolved
Hide resolved
components/brave_rewards/core/wallet_provider/connect_external_wallet.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/core/wallet_provider/connect_external_wallet.cc
Outdated
Show resolved
Hide resolved
a853e32
to
b51b702
Compare
b51b702
to
2a25250
Compare
Use wallet provider name on send contribution button
…urityDisplay Override FormatOriginForSecurityDisplay.
Update adblock-rust to v0.8.1
…uldAlwaysRunBraveAdsService
* refactored ipfs_service h/cc * changed to use weak reference instead of base::Unretained --------- Signed-off-by: Vadym Struts <vstruts@brave.com>
Text to speech in reader mode added.
Fix writing promoCode file after Windows setup
This reverts commit c5d348b.
Vertical tab - drag&drop feature for link and text.
&ConnectBitFlyerWallet::OnConnect, base::Unretained(this), | ||
std::move(callback), std::move(token), std::move(address), std::string()); | ||
auto on_connect = | ||
base::BindOnce(&ConnectBitFlyerWallet::OnConnect, base::Unretained(this), |
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.
reported by reviewdog 🐶
[semgrep] base::Unretained is most of the time unrequited, and a weak reference is better suited for secure coding.
Consider swapping Unretained for a weak reference.
base::Unretained usage may be acceptable when a callback owner is guaranteed
to be destroyed with the object base::Unretained is pointing to, for example:
- PrefChangeRegistrar
- base::*Timer
- mojo::Receiver
- any other class member destroyed when the class is deallocated
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/client/chromium-uaf.yaml
Cc @thypon @goodov @iefremov
std::move(callback), std::move(access_token), | ||
std::move(deposit_id), std::string()); | ||
auto on_connect = base::BindOnce( | ||
&ConnectZebPayWallet::OnConnect, base::Unretained(this), |
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.
reported by reviewdog 🐶
[semgrep] base::Unretained is most of the time unrequited, and a weak reference is better suited for secure coding.
Consider swapping Unretained for a weak reference.
base::Unretained usage may be acceptable when a callback owner is guaranteed
to be destroyed with the object base::Unretained is pointing to, for example:
- PrefChangeRegistrar
- base::*Timer
- mojo::Receiver
- any other class member destroyed when the class is deallocated
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/client/chromium-uaf.yaml
Cc @thypon @goodov @iefremov
Resolves brave/brave-browser#32432
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: