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

Issue 748473002: Introduce CdmContext interface. (Closed)

Created:
6 years, 1 month ago by xhwang
Modified:
6 years, 1 month ago
Reviewers:
*ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@set_cdm
Project:
chromium
Visibility:
Public.

Description

Introduce CdmContext interface. CdmContext is what a media pipeline needs from a CDM to decrypt (and decode) an encrypted stream. BUG=401264 Committed: https://crrev.com/d4dc81df18391b86aeccac802d383e672ccd91e2 Cr-Commit-Position: refs/heads/master@{#305181}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 12

Patch Set 3 : comments addressed #

Patch Set 4 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -62 lines) Patch
M content/renderer/media/android/renderer_media_player_manager.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 5 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.h View 1 2 3 chunks +26 lines, -27 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/media/crypto/renderer_cdm_manager.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M media/base/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A media/base/cdm_context.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A + media/base/cdm_context.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/base/media_keys.h View 1 2 4 chunks +8 lines, -15 lines 0 comments Download
M media/base/media_keys.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M media/blink/cdm_session_adapter.h View 1 2 1 chunk +1 line, -0 lines 2 comments Download
M media/blink/cdm_session_adapter.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/cdm/aes_decryptor.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M media/cdm/proxy_decryptor.cc View 1 2 1 chunk +2 lines, -2 lines 2 comments Download
M media/media.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
xhwang
This is the new interface I meant for SetCdm() refactoring work. PTAL https://codereview.chromium.org/748473002/diff/1/media/base/cdm_context.h File media/base/cdm_context.h ...
6 years, 1 month ago (2014-11-20 19:08:06 UTC) #3
ddorwin
https://codereview.chromium.org/748473002/diff/60001/media/base/cdm_context.h File media/base/cdm_context.h (right): https://codereview.chromium.org/748473002/diff/60001/media/base/cdm_context.h#newcode16 media/base/cdm_context.h:16: // content decryption module (CDM) to decrypt (and decode) ...
6 years, 1 month ago (2014-11-20 21:31:47 UTC) #6
xhwang
https://codereview.chromium.org/748473002/diff/60001/media/base/cdm_context.h File media/base/cdm_context.h (right): https://codereview.chromium.org/748473002/diff/60001/media/base/cdm_context.h#newcode16 media/base/cdm_context.h:16: // content decryption module (CDM) to decrypt (and decode) ...
6 years, 1 month ago (2014-11-21 01:34:27 UTC) #7
ddorwin
LGTM with suggestions. https://codereview.chromium.org/748473002/diff/120001/media/blink/cdm_session_adapter.h File media/blink/cdm_session_adapter.h (right): https://codereview.chromium.org/748473002/diff/120001/media/blink/cdm_session_adapter.h#newcode96 media/blink/cdm_session_adapter.h:96: Decryptor* GetDecryptor(); What do we use ...
6 years, 1 month ago (2014-11-21 05:04:27 UTC) #9
xhwang
Thanks for the review! https://codereview.chromium.org/748473002/diff/120001/media/blink/cdm_session_adapter.h File media/blink/cdm_session_adapter.h (right): https://codereview.chromium.org/748473002/diff/120001/media/blink/cdm_session_adapter.h#newcode96 media/blink/cdm_session_adapter.h:96: Decryptor* GetDecryptor(); On 2014/11/21 05:04:27, ...
6 years, 1 month ago (2014-11-21 05:15:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/748473002/120001
6 years, 1 month ago (2014-11-21 05:16:35 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:120001)
6 years, 1 month ago (2014-11-21 06:30:41 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 06:31:17 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d4dc81df18391b86aeccac802d383e672ccd91e2
Cr-Commit-Position: refs/heads/master@{#305181}

Powered by Google App Engine
This is Rietveld 408576698