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

Issue 2510353004: Deprecating AutoplayExperimentHelper (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, blink-reviews-layout_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, jchaffraix+rendering, leviw+renderwatch, mlamouri+watch-blink_chromium.org, pdr+renderingwatchlist_chromium.org, nessy, Srirama, szager+layoutwatch_chromium.org, vcarbune.chromium, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Deprecating AutoplayExperimentHelper This CL deprecates AutoplayExperimentHelper as it is stale and has been superceeded by the latest autoplay changes. Changes include: * Removing AutoplayUmaHelper * Removing legacy UMAs recorded by AutoplayUmaHelper BUG=666370 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/87b9e3b5bcf706b2a3313bfc44606325614b9eac Cr-Commit-Position: refs/heads/master@{#435424}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : cl try #

Patch Set 4 : rebased #

Total comments: 12

Patch Set 5 : addressed nits in foolip's comments #

Patch Set 6 : cleaned up the layout code no longer used #

Total comments: 2

Patch Set 7 : fixed histograms.xml #

Patch Set 8 : rebased #

Patch Set 9 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -2301 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -9 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/web_preferences.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/LeakExpectations View 1 2 8 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/SlowTests View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes.html View 1 2 1 chunk +0 lines, -79 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/autoplay-experiment-helper.js View 1 2 1 chunk +0 lines, -273 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/video-autoplay-experiment-just-once.html View 1 2 1 chunk +0 lines, -78 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/video-autoplay-experiment-just-once-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html View 1 2 1 chunk +0 lines, -82 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes-expected.txt View 1 2 1 chunk +0 lines, -76 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.in View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h View 1 chunk +0 lines, -345 lines 0 comments Download
D third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp View 1 chunk +0 lines, -512 lines 0 comments Download
D third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp View 1 chunk +0 lines, -454 lines 0 comments Download
M third_party/WebKit/Source/core/html/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 4 5 6 7 8 6 chunks +1 line, -17 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 8 20 chunks +14 lines, -181 lines 0 comments Download
M third_party/WebKit/Source/core/layout/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMedia.h View 1 2 3 4 5 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMedia.cpp View 1 2 3 4 5 1 chunk +0 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 1 2 3 4 5 3 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -21 lines 0 comments Download
D third_party/WebKit/Source/core/layout/api/LayoutMediaItem.h View 1 2 3 4 5 1 chunk +0 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/layout/api/LayoutViewItem.h View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.idl View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebSettings.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (37 generated)
Zhiqiang Zhang (Slow)
PTAL Anton, I'm sending all reviews to you this week but they are not urgent, ...
4 years, 1 month ago (2016-11-22 13:13:27 UTC) #16
whywhat
+Frank who IIRC wrote this originally - maybe there's some extra cleanup to do otherwise, ...
4 years, 1 month ago (2016-11-22 23:14:41 UTC) #20
liberato (no reviews please)
i think that's all of it. thanks for removing it. lgtm. -fl
4 years, 1 month ago (2016-11-22 23:25:21 UTC) #21
Zhiqiang Zhang (Slow)
+foolip: Webkit/ +nasko: content/ (incl. IPC) +jwd: histograms.xml
4 years, 1 month ago (2016-11-23 11:44:25 UTC) #23
foolip
third_party/WebKit/ LGTM % nits https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode676 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:676: UserGestureIndicator::utilizeUserGesture()) { This isn't what ...
4 years ago (2016-11-23 12:40:56 UTC) #24
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode676 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:676: UserGestureIndicator::utilizeUserGesture()) { On 2016/11/23 12:40:55, foolip wrote: > This ...
4 years ago (2016-11-23 17:18:28 UTC) #25
nasko
content/ LGTM
4 years ago (2016-11-23 17:54:12 UTC) #26
Zhiqiang Zhang (Slow)
+ojan for the layout code changes, which is pretty much of an undo of https://codereview.chromium.org/1370723002 ...
4 years ago (2016-11-23 18:27:34 UTC) #30
ojan
lgtm <3
4 years ago (2016-11-23 18:54:33 UTC) #32
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/2510353004/120001
4 years ago (2016-11-23 18:55:13 UTC) #34
foolip
https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2510353004/diff/60001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode676 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:676: UserGestureIndicator::utilizeUserGesture()) { On 2016/11/23 17:18:28, Zhiqiang Zhang wrote: > ...
4 years ago (2016-11-23 19:15:55 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/311669)
4 years ago (2016-11-23 20:24:02 UTC) #37
jwd
https://codereview.chromium.org/2510353004/diff/120001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2510353004/diff/120001/tools/metrics/histograms/histograms.xml#oldcode4180 tools/metrics/histograms/histograms.xml:4180: -<histogram name="Blink.MediaElement.Autoplay" enum="MediaElementAutoPlay"> Can you mark as obsolete, rather ...
4 years ago (2016-11-24 16:16:31 UTC) #38
Zhiqiang Zhang (Slow)
PTAL for jwd@ https://codereview.chromium.org/2510353004/diff/120001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2510353004/diff/120001/tools/metrics/histograms/histograms.xml#oldcode4180 tools/metrics/histograms/histograms.xml:4180: -<histogram name="Blink.MediaElement.Autoplay" enum="MediaElementAutoPlay"> On 2016/11/24 16:16:31, ...
4 years ago (2016-11-24 16:23:50 UTC) #39
Zhiqiang Zhang (Slow)
Ping! jwd@, can you PTAL histograms.xml?
4 years ago (2016-11-29 15:56:07 UTC) #48
jwd
lgtm
4 years ago (2016-11-30 19:40:39 UTC) #49
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/2510353004/180001
4 years ago (2016-11-30 19:55:06 UTC) #52
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years ago (2016-11-30 21:34:29 UTC) #54
commit-bot: I haz the power
4 years ago (2016-11-30 21:37:48 UTC) #56
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/87b9e3b5bcf706b2a3313bfc44606325614b9eac
Cr-Commit-Position: refs/heads/master@{#435424}

Powered by Google App Engine
This is Rietveld 408576698