Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1310)

Issue 2524443002: Adding Rappor metrics for disabling cross-origin autoplay with sound experiment (Closed)

Created:
4 years, 1 month ago by Zhiqiang Zhang (Slow)
Modified:
4 years ago
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, Srirama, vcarbune.chromium, Mark P
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding Rappor metrics for disabling cross-origin autoplay with sound experiment This CL adds Rappor metrics to collect data for the cross-origin autoplay experiment. It records the ETLD+1 of top-level frame and iframes when a video is allowed to/blocked to autoplay and also when the user has manually started a blocked video. BUG=672526 Committed: https://crrev.com/d054c278da7a25db1c4646bd7e61dcb5f051bceb Cr-Commit-Position: refs/heads/master@{#437682}

Patch Set 1 #

Patch Set 2 : new implementation #

Total comments: 22

Patch Set 3 : addressed part of Anton's comments #

Patch Set 4 : rebased #

Patch Set 5 : s/CrossOriginExperiment/CrossOrigin #

Total comments: 8

Patch Set 6 : rebased #

Patch Set 7 : addressed nits #

Patch Set 8 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -2 lines) Patch
M third_party/WebKit/Source/core/html/AutoplayUmaHelper.h View 1 2 4 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp View 1 2 3 4 5 6 2 chunks +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 4 5 6 4 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 9 chunks +47 lines, -2 lines 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 2 3 4 5 6 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Zhiqiang Zhang (Slow)
This CL has lower priority (since it depends on the previous CL). You can take ...
4 years ago (2016-11-25 16:37:42 UTC) #2
Zhiqiang Zhang (Slow)
On 2016/11/25 16:37:42, Zhiqiang Zhang wrote: > This CL has lower priority (since it depends ...
4 years ago (2016-11-29 16:56:37 UTC) #3
whywhat
https://codereview.chromium.org/2524443002/diff/20001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp File third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp (right): https://codereview.chromium.org/2524443002/diff/20001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp#newcode100 third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp:100: if (!m_element->isHTMLVideoElement()) nit: Should we avoid calling this for ...
4 years ago (2016-11-29 21:42:05 UTC) #5
Zhiqiang Zhang (Slow)
PTAL https://codereview.chromium.org/2524443002/diff/20001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp File third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp (right): https://codereview.chromium.org/2524443002/diff/20001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp#newcode100 third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp:100: if (!m_element->isHTMLVideoElement()) On 2016/11/29 21:42:04, whywhat_OOO_till_Mon_Nov_28 wrote: > ...
4 years ago (2016-11-30 17:30:53 UTC) #6
whywhat
lgtm I still think it would be nice to get rid of duplicated long named ...
4 years ago (2016-11-30 22:27:58 UTC) #7
Zhiqiang Zhang (Slow)
+mlamouri: RS HTMLMediaElement.* +mpearson: rappor.xml
4 years ago (2016-12-08 14:04:24 UTC) #9
mlamouri (slow - plz ping)
lgtm with comments applied! :) https://codereview.chromium.org/2524443002/diff/80001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp File third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp (right): https://codereview.chromium.org/2524443002/diff/80001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp#newcode140 third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp:140: "Media.Autoplay.CrossOrigin.PlayedWithGesture.ChildFrame", Should the rapport ...
4 years ago (2016-12-08 17:17:06 UTC) #11
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2524443002/diff/80001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp File third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp (right): https://codereview.chromium.org/2524443002/diff/80001/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp#newcode140 third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp:140: "Media.Autoplay.CrossOrigin.PlayedWithGesture.ChildFrame", On 2016/12/08 17:17:06, mlamouri wrote: > Should the ...
4 years ago (2016-12-08 17:35:29 UTC) #12
Mark P
On 2016/12/08 14:04:24, Zhiqiang Zhang wrote: > +mlamouri: RS HTMLMediaElement.* > +mpearson: rappor.xml I do ...
4 years ago (2016-12-09 06:35:27 UTC) #13
Mark P
+holte for rappor.xml
4 years ago (2016-12-09 06:36:32 UTC) #16
Steven Holte
lgtm
4 years ago (2016-12-09 19:53:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2524443002/130001
4 years ago (2016-12-09 21:20:50 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years ago (2016-12-09 23:19:44 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-12 14:58:05 UTC) #25
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d054c278da7a25db1c4646bd7e61dcb5f051bceb
Cr-Commit-Position: refs/heads/master@{#437682}

Powered by Google App Engine
This is Rietveld 408576698