Commit a1f28a40 authored by Mounir Lamouri's avatar Mounir Lamouri Committed by Commit Bot

Update Media.VideoPersistence.* histograms.

Removing one not very useful and noisy enum entry and updating the timeframe as
there will be more work on Picture-in-Picture for Android soon.

Bug: 1125691, 1125690
Change-Id: I6190852d0129311590287cb11e2f6538f54c071b
Fixed: 1125691, 1125690
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463983Reviewed-by: default avatarMark Pearson <mpearson@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816807}
parent c80b4dee
...@@ -62,7 +62,7 @@ public class PictureInPictureController { ...@@ -62,7 +62,7 @@ public class PictureInPictureController {
private static final int METRICS_ATTEMPT_RESULT_RESTARTING = 5; private static final int METRICS_ATTEMPT_RESULT_RESTARTING = 5;
private static final int METRICS_ATTEMPT_RESULT_FINISHING = 6; private static final int METRICS_ATTEMPT_RESULT_FINISHING = 6;
private static final int METRICS_ATTEMPT_RESULT_NO_WEBCONTENTS = 7; private static final int METRICS_ATTEMPT_RESULT_NO_WEBCONTENTS = 7;
private static final int METRICS_ATTEMPT_RESULT_NO_VIDEO = 8; // private static final int METRICS_ATTEMPT_RESULT_NO_VIDEO = 8;
private static final int METRICS_ATTEMPT_RESULT_COUNT = 9; private static final int METRICS_ATTEMPT_RESULT_COUNT = 9;
private static final String METRICS_END_REASON = "Media.VideoPersistence.EndReason"; private static final String METRICS_END_REASON = "Media.VideoPersistence.EndReason";
...@@ -109,7 +109,6 @@ public class PictureInPictureController { ...@@ -109,7 +109,6 @@ public class PictureInPictureController {
// Only auto-PiP if there is a playing fullscreen video that allows PiP. // Only auto-PiP if there is a playing fullscreen video that allows PiP.
if (!webContents.hasActiveEffectivelyFullscreenVideo() if (!webContents.hasActiveEffectivelyFullscreenVideo()
|| !webContents.isPictureInPictureAllowedForFullscreenVideo()) { || !webContents.isPictureInPictureAllowedForFullscreenVideo()) {
recordAttemptResult(METRICS_ATTEMPT_RESULT_NO_VIDEO);
return false; return false;
} }
......
...@@ -74401,7 +74401,7 @@ Full version information for the fingerprint enum values: ...@@ -74401,7 +74401,7 @@ Full version information for the fingerprint enum values:
<int value="5" label="Restarting"/> <int value="5" label="Restarting"/>
<int value="6" label="Finishing"/> <int value="6" label="Finishing"/>
<int value="7" label="No WebContents"/> <int value="7" label="No WebContents"/>
<int value="8" label="No video"/> <int value="8" label="(Obsolete) No video"/>
</enum> </enum>
<enum name="VideoPersistenceControlsType"> <enum name="VideoPersistenceControlsType">
...@@ -3905,7 +3905,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -3905,7 +3905,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</histogram> </histogram>
<histogram name="Media.VideoPersistence.AttemptResult" <histogram name="Media.VideoPersistence.AttemptResult"
enum="VideoPersistenceAttemptResult" expires_after="M87"> enum="VideoPersistenceAttemptResult" expires_after="M93">
<owner>mlamouri@google.com</owner> <owner>mlamouri@google.com</owner>
<owner>peconn@chromium.org</owner> <owner>peconn@chromium.org</owner>
<owner>media-dev@chromium.org</owner> <owner>media-dev@chromium.org</owner>
...@@ -3916,7 +3916,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -3916,7 +3916,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</histogram> </histogram>
<histogram name="Media.VideoPersistence.ControlsType" <histogram name="Media.VideoPersistence.ControlsType"
enum="VideoPersistenceControlsType" expires_after="M87"> enum="VideoPersistenceControlsType" expires_after="M93">
<owner>mlamouri@google.com</owner> <owner>mlamouri@google.com</owner>
<owner>media-dev@chromium.org</owner> <owner>media-dev@chromium.org</owner>
<summary> <summary>
...@@ -3926,7 +3926,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -3926,7 +3926,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</histogram> </histogram>
<histogram name="Media.VideoPersistence.Duration" units="ms" <histogram name="Media.VideoPersistence.Duration" units="ms"
expires_after="M87"> expires_after="M93">
<owner>mlamouri@google.com</owner> <owner>mlamouri@google.com</owner>
<owner>peconn@chromium.org</owner> <owner>peconn@chromium.org</owner>
<owner>media-dev@chromium.org</owner> <owner>media-dev@chromium.org</owner>
...@@ -3937,7 +3937,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -3937,7 +3937,7 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</histogram> </histogram>
<histogram name="Media.VideoPersistence.EndReason" <histogram name="Media.VideoPersistence.EndReason"
enum="VideoPersistenceEndReason" expires_after="M87"> enum="VideoPersistenceEndReason" expires_after="M93">
<owner>mlamouri@google.com</owner> <owner>mlamouri@google.com</owner>
<owner>peconn@chromium.org</owner> <owner>peconn@chromium.org</owner>
<owner>media-dev@chromium.org</owner> <owner>media-dev@chromium.org</owner>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment