-
Notifications
You must be signed in to change notification settings - Fork 877
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
Configure Brave Ads next payment date from variations seed #7894
Conversation
|
||
const base::Feature kAdRewards{kFeatureName, base::FEATURE_ENABLED_BY_DEFAULT}; | ||
|
||
bool IskAdRewardsEnabled() { |
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.
typo, should be IsAdRewardsEnabled
?
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.
Fixed
return base::FeatureList::IsEnabled(kkAdRewards); | ||
} | ||
|
||
int GetkAdRewardsNextPaymentDay() { |
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.
typo, should be GetAdRewardsNextPaymentDay
?
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.
Fixed
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++
b332b7a
to
8b6aec4
Compare
8b6aec4
to
41c2e2f
Compare
CI failed due to BraveShieldsAPIBrowserTest.AllowScriptsOnceIframe (../../brave/browser/extensions/api/brave_shields_api_browsertest.cc:185) which is a known issue |
Resolves brave/brave-browser#14067
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
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
At this time we just need to make sure the next payment date matches previously releases, i.e. 5th or 6th depending on timezone. We will test the seed when we need to make a change.