Commit 6f3599c0 authored by maybelle@chromium.org's avatar maybelle@chromium.org

Add UMAs for video casting feature.

Added UMAs for:
1) How many times the button is shown
2) How many times the button is selected
3) How many times the YouTube button is selected
4) How many times a video is fullscreened
5) How many times a play ends in success or error
6) The % of a video that the user watched remotely


BUG=284482
NOTRY=true

Review URL: https://codereview.chromium.org/55193003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233301 0039d316-1c4b-4281-b951-d872f2087c98
parent 4c23057a
...@@ -265,6 +265,10 @@ ...@@ -265,6 +265,10 @@
0xea4788705e6873b4 Cancel 0xea4788705e6873b4 Cancel
0xb1c07c66ce4ae2ac Caption_ClickTogglesMaximize 0xb1c07c66ce4ae2ac Caption_ClickTogglesMaximize
0x96c3ac2d2a5d9dba Caption_GestureTogglesMaximize 0x96c3ac2d2a5d9dba Caption_GestureTogglesMaximize
0x13b9d3430f0ce5a7 Cast_Sender_CastDeviceSelected
0xc8aef1b8545c6760 Cast_Sender_CastEnterFullscreen
0x19a12dba54934c30 Cast_Sender_CastPlayRequested
0x34878f681fad82d4 Cast_Sender_YouTubeDeviceSelected
0x89394b102e55da81 ClearAuthenticationCache 0x89394b102e55da81 ClearAuthenticationCache
0x6bd5f5b094096aa7 ClearBrowsingData_Autofill 0x6bd5f5b094096aa7 ClearBrowsingData_Autofill
0xae5b20986fb024db ClearBrowsingData_Cache 0xae5b20986fb024db ClearBrowsingData_Cache
......
...@@ -199,6 +199,10 @@ def AddAndroidActions(actions): ...@@ -199,6 +199,10 @@ def AddAndroidActions(actions):
Arguments Arguments
actions: set of actions to add to. actions: set of actions to add to.
""" """
actions.add('Cast_Sender_CastEnterFullscreen');
actions.add('Cast_Sender_CastDeviceSelected');
actions.add('Cast_Sender_YouTubeDeviceSelected');
actions.add('Cast_Sender_CastPlayRequested');
actions.add('DataReductionProxy_PromoDisplayed'); actions.add('DataReductionProxy_PromoDisplayed');
actions.add('DataReductionProxy_PromoLearnMore'); actions.add('DataReductionProxy_PromoLearnMore');
actions.add('DataReductionProxy_TurnedOn'); actions.add('DataReductionProxy_TurnedOn');
......
...@@ -1260,6 +1260,43 @@ other types of suffix sets. ...@@ -1260,6 +1260,43 @@ other types of suffix sets.
</summary> </summary>
</histogram> </histogram>
<histogram name="Cast.Sender.CastButtonShown" enum="BooleanEnabled">
<summary>
Records the number of times the cast button was shown to the user. The value
will be true if the button is enabled, and false if the button is disabled.
Note that depending on the current UX, it's possible that we hide the button
entirely if it's disabled, so it's possible for the false values to be 0.
</summary>
</histogram>
<histogram name="Cast.Sender.CastButtonShownInitialFullscreen"
enum="BooleanEnabled">
<summary>
Records the number of times the cast button was shown to the user when the
video is fullscreened. The value will only be recorded on entering
fullscreen. The value will be true if the button is enabled, and false if
the button is disabled. Note that depending on the current UX,it's possible
that we hide the button entirely if it's disabled, so it's possible for the
false values to be 0.
</summary>
</histogram>
<histogram name="Cast.Sender.CastPlaySuccess" enum="BooleanSuccess">
<summary>
Records the result of a request to play remotely. The value will be true if
the playback succeeded, and false if there was an error.
</summary>
</histogram>
<histogram name="Cast.Sender.CastTimeRemainingPercentage"
units="percent remaining">
<summary>
Records the percentage of the video left at the time the remote playback is
stopped. This will be recorded when the playback is stopped by the user, or
when it's stopped by the cast device.
</summary>
</histogram>
<histogram name="Cellular.ActivationFailure"> <histogram name="Cellular.ActivationFailure">
<summary> <summary>
The count of cellular device activation failures (Chrome OS). The count of cellular device activation failures (Chrome OS).
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