-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split StoredProfileCount metrics by profile category.
Currently metrics about the stored profiles are only emitted for kLocalOrSyncable profiles. This CL extends the following metrics to kAccount profiles: - Autofill.StoredProfileCount - Autofill.StoredProfileUsedCount - Autofill.StoredProfileDisusedCount - Autofill.StoredProfileUsedPercentage - Autofill.DaysSinceLastUse.StoredProfile Autofill.StoredProfileWithoutCountryCount is not extended to kAccount profiles, since they are guaranteed to have a country. As described in the PRD, to get a valuable signal, kAccount profiles need to be further distinguished by their initial creator. To do so, this CL introduces the notion of a ProfileCategory for metrics, which is one of kLocalOrSyncable, kAccountChrome, kAccountNonChrome or kMixed, indicating the types of profiles that went into the aggregation. Each of the metrics mentioned above is then emitted once per category. The unit tests are parameterized by category. Bug: 1348294 Change-Id: Ic30b25f4a78b8659701d46c7af4154a3750fd08b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4136196 Reviewed-by: Matthias Körber <koerber@google.com> Reviewed-by: Vidhan Jain <vidhanj@google.com> Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1099145}
- Loading branch information
1 parent
fc55da6
commit 0d09e66
Showing
5 changed files
with
328 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.