-
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
Remove dependency on profile and use local state "ads enabled" pref in stats updater #16026
Conversation
bd6591a
to
df0f349
Compare
df0f349
to
98a47d4
Compare
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.
++ brave_referrals_service.cc
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++
6f5fd85
to
cbc3483
Compare
need tests for stats_updater_helper |
339ec6d
to
baeaf28
Compare
baeaf28
to
2dd782c
Compare
@@ -676,6 +681,7 @@ test("brave_browser_tests") { | |||
"//brave/app/brave_main_delegate_browsertest.cc", | |||
"//brave/app/brave_main_delegate_runtime_flags_browsertest.cc", | |||
"//brave/browser/brave_ads/ads_service_browsertest.cc", | |||
"//brave/browser/brave_ads/brave_stats_updater_helper_browsertest.cc", |
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 shouldn't be added directly here, it should go in a test target in the BUILD.gn for brave_stats and be added here (and for android browser tests) as a dep
00d2fae
to
20181cf
Compare
…pref to local state
20181cf
to
0710225
Compare
0710225
to
4f5e980
Compare
Resolves brave/brave-browser#26864
Resolves brave/brave-browser#4599
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:
Ensure the ads enabled parameter in usage ping reflects the ads enabled setting of the last loaded profile.