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

Issue 23464005: Explicitly register each key system. (Closed)

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

Description

Explicitly register each key system. Key systems are now explicitly added rather than loaded from arrays of structs. This is in preparation for moving knowledge of key systems and registration out of content/. BUG=224793 TEST=exsting content_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220664

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed AddParentKeySystem #

Patch Set 3 : rebase only #

Total comments: 52

Patch Set 4 : review feedback #

Total comments: 1

Patch Set 5 : xhwang review updates #

Patch Set 6 : Do not crash when DCHECK is off (should only be possible in tests) #

Patch Set 7 : Fix target-specific build failures resulting from previous patch. Use DLOG_IF to avoid DCHECK_ALWAY… #

Patch Set 8 : Fix target-specific build failures resulting from previous patch. #

Patch Set 9 : Fix Clear Key on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -263 lines) Patch
M content/renderer/media/crypto/key_systems.h View 1 2 3 4 2 chunks +29 lines, -5 lines 0 comments Download
M content/renderer/media/crypto/key_systems.cc View 1 2 3 4 5 6 7 8 2 chunks +201 lines, -73 lines 0 comments Download
M content/renderer/media/crypto/key_systems_info.h View 1 chunk +4 lines, -65 lines 0 comments Download
M content/renderer/media/crypto/key_systems_info.cc View 1 2 3 4 4 chunks +65 lines, -87 lines 0 comments Download
M content/renderer/media/crypto/key_systems_unittest.cc View 1 2 3 4 5 6 8 chunks +56 lines, -33 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
ddorwin
(PTAL at the interfaces, but don't do a full review yet.) Initialization may be slightly ...
7 years, 3 months ago (2013-08-27 00:36:51 UTC) #1
scherkus (not reviewing)
I like this! Does (1) mean there's a window of time where there are no ...
7 years, 3 months ago (2013-08-27 17:20:36 UTC) #2
ddorwin
On 2013/08/27 17:20:36, scherkus wrote: > I like this! > > Does (1) mean there's ...
7 years, 3 months ago (2013-08-27 18:02:28 UTC) #3
ddorwin
https://codereview.chromium.org/23464005/diff/1/content/renderer/media/crypto/key_systems.h File content/renderer/media/crypto/key_systems.h (right): https://codereview.chromium.org/23464005/diff/1/content/renderer/media/crypto/key_systems.h#newcode45 content/renderer/media/crypto/key_systems.h:45: bool use_aes_decryptor); On 2013/08/27 17:20:37, scherkus wrote: > what's ...
7 years, 3 months ago (2013-08-27 18:02:49 UTC) #4
scherkus (not reviewing)
On 2013/08/27 18:02:28, ddorwin wrote: > On 2013/08/27 17:20:36, scherkus wrote: > > I like ...
7 years, 3 months ago (2013-08-27 18:06:35 UTC) #5
xhwang
Overall it looks good. I just have one question about AddParentKeySystem. I wonder why we ...
7 years, 3 months ago (2013-08-27 20:58:05 UTC) #6
ddorwin
On 2013/08/27 20:58:05, xhwang wrote: > Overall it looks good. I just have one question ...
7 years, 3 months ago (2013-08-27 22:41:22 UTC) #7
ddorwin
I removed AddParentKeySystem(). This is now ready for review.
7 years, 3 months ago (2013-08-29 19:16:21 UTC) #8
scherkus (not reviewing)
lgtm w/ nits https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc#newcode36 content/renderer/media/crypto/key_systems.cc:36: #endif // defined(ENABLE_PEPPER_CDMS) nit: you can ...
7 years, 3 months ago (2013-08-29 20:11:46 UTC) #9
ddorwin
https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc#newcode36 content/renderer/media/crypto/key_systems.cc:36: #endif // defined(ENABLE_PEPPER_CDMS) On 2013/08/29 20:11:47, scherkus wrote: > ...
7 years, 3 months ago (2013-08-29 21:44:04 UTC) #10
xhwang
lgtm % nits https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc#newcode63 content/renderer/media/crypto/key_systems.cc:63: typedef base::hash_set<std::string> CodecMappings; Shall we name ...
7 years, 3 months ago (2013-08-29 21:45:26 UTC) #11
ddorwin
https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc#newcode63 content/renderer/media/crypto/key_systems.cc:63: typedef base::hash_set<std::string> CodecMappings; On 2013/08/29 21:45:26, xhwang wrote: > ...
7 years, 3 months ago (2013-08-29 22:20:18 UTC) #12
xhwang
thanks! lgtm++
7 years, 3 months ago (2013-08-29 22:27:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/40001
7 years, 3 months ago (2013-08-29 22:59:06 UTC) #14
ddorwin
I addressed the deferred comments in https://codereview.chromium.org/23464005/. https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/23464005/diff/20001/content/renderer/media/crypto/key_systems.cc#newcode63 content/renderer/media/crypto/key_systems.cc:63: typedef base::hash_set<std::string> ...
7 years, 3 months ago (2013-08-29 23:14:30 UTC) #15
commit-bot: I haz the power
Failed to trigger a try job on android_dbg HTTP Error 400: Bad Request
7 years, 3 months ago (2013-08-30 00:33:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/53001
7 years, 3 months ago (2013-08-30 00:33:28 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-30 00:59:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/75001
7 years, 3 months ago (2013-08-30 01:34:43 UTC) #19
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=74209
7 years, 3 months ago (2013-08-30 04:01:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/88001
7 years, 3 months ago (2013-08-30 16:44:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/21006
7 years, 3 months ago (2013-08-30 18:48:01 UTC) #22
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=74458
7 years, 3 months ago (2013-08-30 20:49:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/23464005/21006
7 years, 3 months ago (2013-08-30 20:52:41 UTC) #24
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 21:42:47 UTC) #25
Message was sent while issue was closed.
Change committed as 220664

Powered by Google App Engine
This is Rietveld 408576698