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

Issue 1712903002: Remove prefixed EME. (Closed)

Created:
4 years, 10 months ago by ddorwin
Modified:
4 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, gasubic, nasko+codewatch_chromium.org, fs, yzshen+watch_chromium.org, kinuko+watch, ben+mojo_chromium.org, mlamouri+watch-media_chromium.org, blink-reviews-html_chromium.org, jam, abarth-chromium, eme-reviews_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, nessy, creis+watch_chromium.org, philipj_slow, feature-media-reviews_chromium.org, eric.carlson_apple.com, asvitkine+watch_chromium.org, vcarbune.chromium, mlamouri+watch-blink_chromium.org, avayvod+watch_chromium.org, mcasas+watch_chromium.org, Aaron Boodman, mkwst+moarreviews-renderer_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove prefixed EME. This removes most of the code, including from Blink and WebMediaPlayer*. Some code that is not trivial to remove still exists. Specifically, there are some legacy parameters in media::MediaKeys and implementations of it. Also, although prefixed tests have been disabled, not all related paths have been removed. In addition, there are some TODOs that will be addressed separately. The flag to disable (unprefixed) EME is no longer useful and has been removed. BUG=249976 TEST=Unprefixed EME tests still pass. Committed: https://crrev.com/fdb9a2bea13a877eef407fe7359b056b56d8ab2e Cr-Commit-Position: refs/heads/master@{#376828}

Patch Set 1 #

Patch Set 2 : Fix Android build; remove more code from WMPI #

Patch Set 3 : Fix layout tests. #

Total comments: 10

Patch Set 4 : review feedback and remove low-hanging prefixed code from browser test JS #

Patch Set 5 : Rebase on https://codereview.chromium.org/1717033002/ #

Patch Set 6 : Remove all prefixed-related code from the EME browser tests. #

Total comments: 8

Patch Set 7 : Rebase only. #

Patch Set 8 : review feedback #

Patch Set 9 : Fix isRenewalMessage() in browser tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -4488 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 19 chunks +32 lines, -202 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 4 5 6 2 chunks +0 lines, -7 lines 0 comments Download
M content/child/simple_webmimeregistry_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/child/simple_webmimeregistry_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 7 chunks +0 lines, -57 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 8 chunks +3 lines, -287 lines 0 comments Download
M content/renderer/media/cdm/render_cdm_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/render_media_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 3 chunks +6 lines, -7 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -26 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/MediaDrmBridge.java View 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_drm_bridge.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/base/key_system_info.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/key_systems.h View 2 chunks +3 lines, -30 lines 0 comments Download
M media/base/key_systems.cc View 11 chunks +2 lines, -101 lines 0 comments Download
D media/base/key_systems_support_uma.h View 1 chunk +0 lines, -57 lines 0 comments Download
D media/base/key_systems_support_uma.cc View 1 chunk +0 lines, -133 lines 0 comments Download
M media/base/key_systems_unittest.cc View 10 chunks +2 lines, -73 lines 0 comments Download
M media/base/media_client.h View 2 chunks +1 line, -8 lines 0 comments Download
M media/base/media_client.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M media/base/media_keys.h View 2 chunks +3 lines, -16 lines 0 comments Download
M media/blink/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M media/blink/cdm_session_adapter.cc View 1 chunk +1 line, -1 line 0 comments Download
D media/blink/encrypted_media_player_support.h View 1 chunk +0 lines, -123 lines 0 comments Download
D media/blink/encrypted_media_player_support.cc View 1 chunk +0 lines, -331 lines 0 comments Download
M media/blink/media_blink.gyp View 2 chunks +0 lines, -4 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 4 chunks +0 lines, -21 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 4 chunks +3 lines, -44 lines 0 comments Download
M media/blink/webmediaplayer_params.h View 1 2 3 4 5 6 4 chunks +0 lines, -6 lines 0 comments Download
M media/blink/webmediaplayer_params.cc View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download
M media/blink/webmediaplayer_util.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_util.cc View 1 chunk +0 lines, -12 lines 0 comments Download
D media/cdm/proxy_decryptor.h View 1 chunk +0 lines, -169 lines 0 comments Download
D media/cdm/proxy_decryptor.cc View 1 chunk +0 lines, -415 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M media/mojo/interfaces/content_decryption_module.mojom View 1 chunk +0 lines, -1 line 0 comments Download
M media/test/data/eme_player.html View 1 2 3 4 5 2 chunks +0 lines, -6 lines 0 comments Download
M media/test/data/eme_player_js/app_loader.js View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M media/test/data/eme_player_js/clearkey_player.js View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M media/test/data/eme_player_js/eme_app.js View 1 2 3 4 5 3 chunks +0 lines, -7 lines 0 comments Download
M media/test/data/eme_player_js/file_io_test_player.js View 1 2 3 4 5 2 chunks +1 line, -7 lines 0 comments Download
M media/test/data/eme_player_js/globals.js View 1 2 3 4 5 4 chunks +2 lines, -19 lines 0 comments Download
M media/test/data/eme_player_js/player_utils.js View 1 2 3 4 5 3 chunks +2 lines, -69 lines 0 comments Download
D media/test/data/eme_player_js/prefixed_clearkey_player.js View 1 2 3 1 chunk +0 lines, -28 lines 0 comments Download
D media/test/data/eme_player_js/prefixed_widevine_player.js View 1 2 3 1 chunk +0 lines, -34 lines 0 comments Download
M media/test/data/eme_player_js/test_config.js View 1 2 3 4 5 4 chunks +0 lines, -18 lines 0 comments Download
M media/test/data/eme_player_js/utils.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -8 lines 0 comments Download
M media/test/data/eme_player_js/widevine_player.js View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor.html View 1 chunk +0 lines, -135 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt View 1 chunk +0 lines, -102 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unprefixed-after-prefixed.html View 1 2 1 chunk +0 lines, -44 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-can-play-type.html View 1 chunk +0 lines, -93 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-can-play-type-expected.txt View 1 chunk +0 lines, -74 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-can-play-type-webm.html View 1 chunk +0 lines, -124 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-can-play-type-webm-expected.txt View 1 chunk +0 lines, -112 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-constants.html View 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-constants-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-events.html View 1 chunk +0 lines, -201 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-events-expected.txt View 1 chunk +0 lines, -210 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded.html View 1 chunk +0 lines, -54 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt View 1 chunk +0 lines, -32 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax.html View 1 chunk +0 lines, -77 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt View 1 chunk +0 lines, -56 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt View 5 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 4 chunks +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/Dictionary.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 5 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 16 chunks +19 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.idl View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyError.h View 1 chunk +0 lines, -71 lines 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyError.idl View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyEvent.h View 1 chunk +0 lines, -79 lines 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyEvent.cpp View 1 chunk +0 lines, -69 lines 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyEvent.idl View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/Source/core/html/MediaKeyEventInit.idl View 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h View 2 chunks +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp View 7 chunks +0 lines, -234 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayer.h View 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayerEncryptedMediaClient.h View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/public/platform/WebMimeRegistry.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 chunk +0 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 6 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
ddorwin
\o/ Many files, but almost entirely deletes.
4 years, 10 months ago (2016-02-19 00:09:26 UTC) #2
xhwang
LGTM % nits https://chromiumcodereview.appspot.com/1712903002/diff/40001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://chromiumcodereview.appspot.com/1712903002/diff/40001/chrome/browser/media/encrypted_media_browsertest.cc#newcode434 chrome/browser/media/encrypted_media_browsertest.cc:434: query_params.push_back(std::make_pair("usePrefixedEME", "1")); Can you fix this ...
4 years, 10 months ago (2016-02-19 23:39:14 UTC) #4
ddorwin
I addressed all but one of your comments. Since PS3, I fixed the File IO ...
4 years, 10 months ago (2016-02-20 01:04:46 UTC) #5
xhwang
LGTM++!
4 years, 10 months ago (2016-02-20 01:17:16 UTC) #6
ddorwin
Simple review of code deletion. pfeldman: Please review the following: * third_party/WebKit/Source/bindings/core/v8/* * third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in * ...
4 years, 10 months ago (2016-02-20 01:22:45 UTC) #8
Ilya Sherman
histograms.xml lgtm
4 years, 10 months ago (2016-02-20 01:40:45 UTC) #9
haraken
WebKit/Source/ LGTM
4 years, 10 months ago (2016-02-20 08:01:21 UTC) #10
philipj_slow
third_party/WebKit/ lgtm % nits https://codereview.chromium.org/1712903002/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1712903002/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode237 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:237: WebMimeRegistry::SupportsType supported = Platform::current()->mimeRegistry()->supportsMediaMIMEType(contentMIMEType, contentTypeCodecs, ...
4 years, 10 months ago (2016-02-20 12:52:20 UTC) #11
ddorwin
PS7 is just a rebase. PS8 contains changes based on philipj's feedback, including some new ...
4 years, 10 months ago (2016-02-22 18:30:46 UTC) #12
ddorwin
content/child/* content/renderer/render*
4 years, 10 months ago (2016-02-22 18:36:38 UTC) #13
ddorwin
pfeldman: Please OWNERS review the simple code deletions in the five files at: content/child/* content/renderer/render* ...
4 years, 10 months ago (2016-02-22 18:38:35 UTC) #14
pfeldman
content lgtm
4 years, 10 months ago (2016-02-22 18:47:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1712903002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1712903002/160001
4 years, 10 months ago (2016-02-22 20:07:59 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-22 22:25:23 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 22:26:43 UTC) #22
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/fdb9a2bea13a877eef407fe7359b056b56d8ab2e
Cr-Commit-Position: refs/heads/master@{#376828}

Powered by Google App Engine
This is Rietveld 408576698