-
Notifications
You must be signed in to change notification settings - Fork 885
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
Adds new contribution flow for unverified publishers #1236
Conversation
0abe7ad
to
06401c7
Compare
@@ -57,6 +57,7 @@ using GetPublisherAllowVideosCallback = base::Callback<void(bool)>; | |||
using GetAutoContributeCallback = base::Callback<void(bool)>; | |||
using GetReconcileStampCallback = base::Callback<void(uint64_t)>; | |||
using IsWalletCreatedCallback = base::Callback<void(bool)>; | |||
using GetPendingContributionsTotalCallback = base::Callback<void(double)>; |
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 should be base::CallbackOnce
and update to use base::BindOnce
. base::Callback
and base::Bind
are deprecated in favor of Once/Repeating
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.
fyi - you need to use std::move when passing or calling a base::CallbackOnce
callback
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 tried to add it, but it's failing for me, will contact you via DM
06401c7
to
45be68a
Compare
Realtime notes while testing:
|
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.
Comment left, but otherwise looks good 😄 Also see @bridiver's feedback (which may be blocking). I can do a formal review if/when ready for final review
0dd2419
to
11ac85e
Compare
11ac85e
to
960404c
Compare
960404c
to
985c461
Compare
Adds new contribution flow for unverified publishers
Adds new contribution flow for unverified publishers
Adds new contribution flow for unverified publishers
Resolves brave/brave-browser#2836
UI implementation: brave/brave-ui#340
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: