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

Issue 23452025: Move EME key system knowledge from content/ to chrome/. (Closed)

Created:
7 years, 3 months ago by ddorwin
Modified:
7 years, 3 months ago
Reviewers:
Lei Zhang, xhwang
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Move EME key system knowledge from content/ to chrome/. Most of the knowledge about specific key systems is moved from content/renderer/media/crypto/key_systems_info.cc to chrome/renderer/media/chrome_key_systems.cc. content/renderer/media/crypto/key_systems_unittest.cc is modified to test the infrastructure rather than specific key systems, which are now tested in chrome/browser/media/encrypted_media_istypesupported_browsertest.cc (r222647). BUG=224793 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223132

Patch Set 1 #

Patch Set 2 : test renaming #

Patch Set 3 : Add OWNERS file #

Total comments: 21

Patch Set 4 : review feedback #

Patch Set 5 : rebase only #

Patch Set 6 : applied review feedback to new test and fixed mistakes in PS4 #

Patch Set 7 : review feedback and disabled mosts tests in encrypted_media_browsertest.cc #

Total comments: 2

Patch Set 8 : rebase only #

Patch Set 9 : rebase (including moving the changes from r223046) #

Patch Set 10 : Fix test on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -804 lines) Patch
M chrome/browser/media/encrypted_media_istypesupported_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +46 lines, -44 lines 0 comments Download
chrome/chrome_renderer.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
chrome/renderer/media/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/renderer/media/chrome_key_systems.h View 1 chunk +12 lines, -0 lines 0 comments Download
A + chrome/renderer/media/chrome_key_systems.cc View 1 2 3 4 5 6 7 8 7 chunks +7 lines, -34 lines 0 comments Download
content/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 6 6 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/media/crypto/key_systems.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/crypto/key_systems_info.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/media/crypto/key_systems_info.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -155 lines 0 comments Download
M content/renderer/media/crypto/key_systems_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +314 lines, -559 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ddorwin
https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/OWNERS File chrome/renderer/media/OWNERS (right): https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/OWNERS#newcode1 chrome/renderer/media/OWNERS:1: acolwell@chromium.org I copied this from chrome/browser/media/OWNERS.
7 years, 3 months ago (2013-09-11 01:37:41 UTC) #1
xhwang
https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/chrome_key_systems.cc#newcode44 chrome/renderer/media/chrome_key_systems.cc:44: static void AddWidevineForCodecs( nit: will AddWidevineWithCodecs be better? https://codereview.chromium.org/23452025/diff/7001/content/renderer/media/crypto/key_systems_unittest.cc ...
7 years, 3 months ago (2013-09-11 20:38:55 UTC) #2
ddorwin
jochen: Please review changes in chrome/renderer. They are small, and the new OWNERS file means ...
7 years, 3 months ago (2013-09-12 00:54:18 UTC) #3
ddorwin
https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://codereview.chromium.org/23452025/diff/7001/chrome/renderer/media/chrome_key_systems.cc#newcode44 chrome/renderer/media/chrome_key_systems.cc:44: static void AddWidevineForCodecs( On 2013/09/11 20:38:55, xhwang wrote: > ...
7 years, 3 months ago (2013-09-12 22:35:40 UTC) #4
xhwang
lgtm % nits https://codereview.chromium.org/23452025/diff/28001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc File chrome/browser/media/encrypted_media_istypesupported_browsertest.cc (right): https://codereview.chromium.org/23452025/diff/28001/chrome/browser/media/encrypted_media_istypesupported_browsertest.cc#newcode98 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc:98: static const char kUprefixedClearKeyParent[] = "org.w3"; ...
7 years, 3 months ago (2013-09-12 23:47:49 UTC) #5
ddorwin
jochen, OWNERS review for content/ please. Almost all the files will have new OWNERS after ...
7 years, 3 months ago (2013-09-13 00:33:42 UTC) #6
xhwang
lgtm++
7 years, 3 months ago (2013-09-13 00:44:07 UTC) #7
ddorwin
jochen, thestig: PTAL at chrome/. I have LGTM from my team.
7 years, 3 months ago (2013-09-13 15:13:55 UTC) #8
Lei Zhang
chrome/ lgtm
7 years, 3 months ago (2013-09-13 18:05:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23452025/37001
7 years, 3 months ago (2013-09-13 18:08:29 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 21:51:51 UTC) #11
Message was sent while issue was closed.
Change committed as 223132

Powered by Google App Engine
This is Rietveld 408576698