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

Issue 2445433003: media: Enable encrypted media content browsertests when MojoCdm is used (Closed)

Created:
4 years, 2 months ago by xhwang
Modified:
4 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, eme-reviews_chromium.org, feature-media-reviews_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Enable encrypted media content browsertests when MojoCdm is used Previously on Android (that uses MojoCdm by default), we enabled External Clear Key support and used it in encrypted media content browsertests. This CL extends the coverage such that on all platforms that uses MojoCdm, these tests will be enabled. For example, on cast_shell, both MojoCdm and MojoRenderer are used. Note that an AesDecryptor is running in the remote process (Gpu or Browser). On Android, the Decryptor on the CDM is wrapped into a MojoDecryptor, which is used by the DecryptingDemuxerStream in the render process. On CastShell, the Decryptor on the CDM is used directly by the Renderer running in the remote process. TBR=mkwst@chromium.org,peter@chromium.org BUG=641559 TEST=This CL enables existing tests on more platforms. Committed: https://crrev.com/41f1d0e9e7bfab2aca601b12599e124ccc2def1e Cr-Commit-Position: refs/heads/master@{#431523}

Patch Set 1 #

Patch Set 2 : media: Enable encrypted media content browsertests when MojoCdm is used #

Total comments: 27

Patch Set 3 : comments #

Patch Set 4 : comments addressed #

Patch Set 5 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -45 lines) Patch
M content/browser/media/encrypted_media_browsertest.cc View 1 2 3 5 chunks +33 lines, -24 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/key_systems.cc View 1 2 3 3 chunks +29 lines, -17 lines 0 comments Download
M media/cdm/default_cdm_factory.cc View 1 2 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 47 (28 generated)
xhwang
PTAL
4 years, 2 months ago (2016-10-22 02:43:03 UTC) #6
xhwang
kindly ping :)
4 years, 1 month ago (2016-10-25 21:07:43 UTC) #9
xhwang
On 2016/10/25 21:07:43, xhwang wrote: > kindly ping :) ddorwin: kindly ping :) alokp: FYI
4 years, 1 month ago (2016-10-27 17:09:24 UTC) #10
ddorwin
https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc#newcode23 content/browser/media/encrypted_media_browsertest.cc:23: #define SUPPORTS_CLEAR_KEY These implementations don't support CK at all? ...
4 years, 1 month ago (2016-10-28 19:03:48 UTC) #13
xhwang
https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc#newcode23 content/browser/media/encrypted_media_browsertest.cc:23: #define SUPPORTS_CLEAR_KEY On 2016/10/28 19:03:47, ddorwin wrote: > These ...
4 years, 1 month ago (2016-11-03 07:14:44 UTC) #16
xhwang
ddorwin: kindly ping :)
4 years, 1 month ago (2016-11-09 23:18:07 UTC) #19
ddorwin
PS3 changes LG. All of my comments are in PS2, mostly in reply to existing ...
4 years, 1 month ago (2016-11-10 01:24:29 UTC) #20
xhwang
comments addressed
4 years, 1 month ago (2016-11-10 07:10:57 UTC) #21
xhwang
Thanks for the comments. PTAL again! https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/2445433003/diff/20001/content/browser/media/encrypted_media_browsertest.cc#newcode23 content/browser/media/encrypted_media_browsertest.cc:23: #define SUPPORTS_CLEAR_KEY On ...
4 years, 1 month ago (2016-11-10 07:11:29 UTC) #24
ddorwin
LGTM. Thank you.
4 years, 1 month ago (2016-11-10 18:17:14 UTC) #27
xhwang
mkwst@ and peter@: Could any of you OWNERS-review the trivial changes in content/shell/*?
4 years, 1 month ago (2016-11-10 21:48:51 UTC) #29
xhwang
TRBing mkwst@ and peter@ on trivial changes in content/shell/*
4 years, 1 month ago (2016-11-11 05:25:58 UTC) #30
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/2445433003/60001
4 years, 1 month ago (2016-11-11 05:26:56 UTC) #33
commit-bot: I haz the power
Failed to apply patch for content/shell/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-11 05:32:29 UTC) #35
xhwang
rebase only
4 years, 1 month ago (2016-11-11 06:06:27 UTC) #36
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/2445433003/80001
4 years, 1 month ago (2016-11-11 06:27:23 UTC) #42
Mike West
//content/shell LGTM.
4 years, 1 month ago (2016-11-11 08:06:39 UTC) #43
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-11 08:17:07 UTC) #45
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 08:19:10 UTC) #47
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/41f1d0e9e7bfab2aca601b12599e124ccc2def1e
Cr-Commit-Position: refs/heads/master@{#431523}

Powered by Google App Engine
This is Rietveld 408576698