-
Notifications
You must be signed in to change notification settings - Fork 879
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
Refactor ActivityInfoFilter #2875
Conversation
1418f24
to
9960120
Compare
93c94b9
to
0a9fa3d
Compare
e569a80
to
93f5ecc
Compare
93f5ecc
to
9be4e17
Compare
vendor/bat-native-ledger/include/bat/ledger/public/interfaces/ledger.mojom
Outdated
Show resolved
Hide resolved
@@ -656,24 +656,24 @@ - (void)testPublishersWithFiltersExcluded | |||
const auto filter = [[BATActivityInfoFilter alloc] init]; | |||
|
|||
// Filter all - skip exclude filtering | |||
filter.excluded = BATExcludeFilterFilterAll; | |||
filter.excluded = BATEXCLUDE_FILTERFilterAll; |
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 naming is unfortunate 😅 I will have to fix the formatting for Obj-C generated enum names, or we can stop using all caps snake case for enums names in mojo? It seems like it's a bit inconsistent atm: https://github.com/brave/brave-core/pull/2889/files#diff-99c488f19578bfd75399396011e2db1bR99
@NejcZdovc You have any preference?
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.
@kylehickinson I have spoken with @NejcZdovc and for now this is ok and we will raise a ticket for consistency
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.
Gotcha, I will push a mojo gen fix to this branch that refactors the all caps snake case then
3cc6fa6
to
155f0e8
Compare
vendor/bat-native-ledger/src/bat/ledger/internal/bat_publishers.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ledger/src/bat/ledger/internal/bat_publishers.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ledger/src/bat/ledger/internal/bat_publishers.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/publisher_info_database_unittest.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/publisher_info_database_unittest.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/publisher_info_database_unittest.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/publisher_info_database_unittest.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/publisher_info_database_unittest.cc
Outdated
Show resolved
Hide resolved
ebc1249
to
28505c6
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.
LGTM++
1879f20
to
4dcfa1b
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.
ios++
4dcfa1b
to
1cb67ab
Compare
1cb67ab
to
84bb6c7
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.
ios++
Submitter Checklist:
Resolves brave/brave-browser#5129
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.