Skip to content
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

Cherry pick PR #3171: Correcting HasEverPlayed metric entry #3266

Merged
merged 1 commit into from
May 16, 2024

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

Refer to the original PR: #3171

Cobalt.Media.HasEverPlayed was correctly being logged as base::UmaHistogramBoolean()
however, it was incorrectly using an enum for PipelineStatus.

This CL adds a new enum BooleanHasPlayed and sets Cobalt.Media.HasEverPlayed to use it.
( I used a new enum rather than just the Boolean enum to follow Chromium's example:
https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/histograms/metadata/media/histograms.xml;l=3891)

b/337308115

Cobalt.Media.HasEverPlayed was correctly being logged as
base::UmaHistogramBoolean()
however, it was incorrectly using an enum for PipelineStatus.

This CL adds a new enum BooleanHasPlayed and sets
Cobalt.Media.HasEverPlayed to use it.
( I used a new enum rather than just the Boolean enum to follow
Chromium's example:

https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/histograms/metadata/media/histograms.xml;l=3891)

b/337308115

(cherry picked from commit 031665c)
@sideb0ard sideb0ard enabled auto-merge (squash) May 15, 2024 21:43
auto-merge was automatically disabled May 15, 2024 22:26

Pull Request is not mergeable

auto-merge was automatically disabled May 15, 2024 22:26

Pull Request is not mergeable

@sideb0ard sideb0ard merged commit 3e834b2 into 25.lts.1+ May 16, 2024
300 of 304 checks passed
@sideb0ard sideb0ard deleted the cherry-pick-25.lts.1+-3171 branch May 16, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants