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

Issue 665563002: Add MediaKeys::GetCdmId(). (Closed)

Created:
6 years, 2 months ago by xhwang
Modified:
6 years, 2 months ago
Reviewers:
jrummell, *ddorwin
CC:
chromium-reviews, eme-reviews_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

Add MediaKeys::GetCdmId(). BUG=422730 Committed: https://crrev.com/fa26b63208db8afbdc41d68dc2aa1243690d8325 Cr-Commit-Position: refs/heads/master@{#300401}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Comments & Updated ProxyMediaKeys #

Total comments: 2

Patch Set 4 : Make GetCdmId() pure virtual. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -70 lines) Patch
M content/renderer/media/android/renderer_media_player_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 5 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/media/cdm_session_adapter.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/media/cdm_session_adapter.cc View 1 2 3 chunks +3 lines, -14 lines 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/media/crypto/proxy_decryptor.cc View 1 2 4 chunks +1 line, -11 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/crypto/render_cdm_factory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/crypto/render_cdm_factory.cc View 1 2 5 chunks +2 lines, -13 lines 0 comments Download
M content/renderer/media/crypto/renderer_cdm_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/media/crypto/renderer_cdm_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/cdm_factory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/media_keys.h View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M media/base/media_keys.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
xhwang
PTAL
6 years, 2 months ago (2014-10-17 05:15:36 UTC) #3
ddorwin
Yay, so much cleaner! Don't we need an implementation in ProxyMediaKeys? https://codereview.chromium.org/665563002/diff/20001/media/base/media_keys.h File media/base/media_keys.h (right): ...
6 years, 2 months ago (2014-10-17 16:38:56 UTC) #4
jrummell
lgtm w/nits. https://codereview.chromium.org/665563002/diff/20001/content/renderer/media/cdm_session_adapter.cc File content/renderer/media/cdm_session_adapter.cc (right): https://codereview.chromium.org/665563002/diff/20001/content/renderer/media/cdm_session_adapter.cc#newcode135 content/renderer/media/cdm_session_adapter.cc:135: DCHECK(media_keys_); I thought the convention was not ...
6 years, 2 months ago (2014-10-17 17:53:26 UTC) #5
xhwang
ddorwin: You are right. ProxyMediaKeys has GetCdmId but I should make it "override". PTAL again. ...
6 years, 2 months ago (2014-10-17 20:32:06 UTC) #6
ddorwin
https://codereview.chromium.org/665563002/diff/20001/media/base/media_keys.h File media/base/media_keys.h (right): https://codereview.chromium.org/665563002/diff/20001/media/base/media_keys.h#newcode132 media/base/media_keys.h:132: int GetCdmId() const; On 2014/10/17 20:32:06, xhwang wrote: > ...
6 years, 2 months ago (2014-10-18 17:05:43 UTC) #7
xhwang
Thanks for the comments. PTAL again. https://codereview.chromium.org/665563002/diff/20001/media/base/media_keys.h File media/base/media_keys.h (right): https://codereview.chromium.org/665563002/diff/20001/media/base/media_keys.h#newcode132 media/base/media_keys.h:132: int GetCdmId() const; ...
6 years, 2 months ago (2014-10-20 17:59:53 UTC) #8
ddorwin
Thanks
6 years, 2 months ago (2014-10-20 18:16:07 UTC) #9
ddorwin
lgtm
6 years, 2 months ago (2014-10-20 18:16:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665563002/60001
6 years, 2 months ago (2014-10-20 23:26:37 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-21 02:00:07 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 02:03:09 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fa26b63208db8afbdc41d68dc2aa1243690d8325
Cr-Commit-Position: refs/heads/master@{#300401}

Powered by Google App Engine
This is Rietveld 408576698