-
Notifications
You must be signed in to change notification settings - Fork 892
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
Issue 8854: Implement search counter p3a metric. #5302
Conversation
5e526b2
to
a02e213
Compare
8c00730
to
5e4ff2c
Compare
Sorry, I don't have enough time to review today. I'll review tomorrow! |
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 with one nit comment.
Nice to have generalized weekly storage 👍
|
||
void BraveOmniboxClientImpl::OnInputAccepted(const AutocompleteMatch& match) { | ||
// TODO(iefremov): Optimize this. | ||
WeeklyStorage storage(profile_->GetPrefs(), kSearchCountPrefName); |
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.
nit: This could be moved into the below if
clause.
86d6eb1
to
d84ed0a
Compare
Fix brave/brave-browser#8854 To start measuring search volumes we start with omnibox - we would count all search-related events coming from here. This PR also refactors the utility class for recording "weekly" metrics.
d84ed0a
to
458b13b
Compare
CI errors unrelated |
Issue 8854: Implement search counter p3a metric.
Verification passed on Windows 10 x64 using
Clean profile
Upgraded profile [Upgrade from 1.8.x to 1.10.x]
|
Resolves brave/brave-browser#8854
Submitter Checklist:
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.