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

Issue 17289006: Separate CDM initialization from GenerateKeyRequest & remove key_system parameters. (Closed)

Created:
7 years, 6 months ago by ddorwin
Modified:
7 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Base URL:
master
Visibility:
Public.

Description

Separate CDM initialization from GenerateKeyRequest & remove key_system parameters. This eliminates unnecessary parameters and prepares for integration with the new API. BUG=249976, 250048 TBR=cdn@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207131

Patch Set 1 #

Patch Set 2 : minor changes #

Total comments: 8

Patch Set 3 : rebase only #

Patch Set 4 : review feedback #

Patch Set 5 : Added Android files #

Patch Set 6 : More Android files #

Patch Set 7 : More Android files #

Patch Set 8 : More Android fixes #

Patch Set 9 : rebase only #

Patch Set 10 : key_system removed from proxy #

Patch Set 11 : remove from proxy calls #

Total comments: 6

Patch Set 12 : removed DCHECKs #

Patch Set 13 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -433 lines) Patch
M content/browser/android/media_player_manager_impl.h View 1 2 3 4 5 6 2 chunks +1 line, -8 lines 0 comments Download
M content/browser/android/media_player_manager_impl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -16 lines 0 comments Download
M content/common/media/media_player_messages_android.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -12 lines 0 comments Download
M content/renderer/media/webmediaplayer_proxy_impl_android.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/media/webmediaplayer_proxy_impl_android.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -12 lines 0 comments Download
M media/base/android/media_drm_bridge.h View 1 2 3 4 5 6 2 chunks +4 lines, -6 lines 0 comments Download
M media/base/android/media_drm_bridge.cc View 1 2 3 4 1 chunk +3 lines, -6 lines 0 comments Download
M media/base/android/media_player_manager.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/media_keys.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -17 lines 0 comments Download
M media/crypto/aes_decryptor.h View 1 chunk +3 lines, -6 lines 0 comments Download
M media/crypto/aes_decryptor.cc View 5 chunks +9 lines, -12 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 3 chunks +11 lines, -15 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -50 lines 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/plugins/ppapi/content_decryptor_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/content_decryptor_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +21 lines, -27 lines 0 comments Download
M webkit/renderer/media/android/media_source_delegate.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M webkit/renderer/media/android/media_source_delegate.cc View 1 2 3 4 3 chunks +3 lines, -6 lines 0 comments Download
M webkit/renderer/media/android/webmediaplayer_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -7 lines 0 comments Download
M webkit/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +34 lines, -36 lines 0 comments Download
M webkit/renderer/media/android/webmediaplayer_proxy_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M webkit/renderer/media/crypto/ppapi/clear_key_cdm.h View 1 chunk +4 lines, -7 lines 0 comments Download
M webkit/renderer/media/crypto/ppapi/clear_key_cdm.cc View 5 chunks +7 lines, -17 lines 0 comments Download
M webkit/renderer/media/crypto/ppapi_decryptor.h View 1 2 3 4 chunks +23 lines, -18 lines 0 comments Download
M webkit/renderer/media/crypto/ppapi_decryptor.cc View 1 2 3 6 chunks +53 lines, -41 lines 0 comments Download
M webkit/renderer/media/crypto/proxy_decryptor.h View 1 3 chunks +11 lines, -13 lines 0 comments Download
M webkit/renderer/media/crypto/proxy_decryptor.cc View 1 2 3 5 chunks +35 lines, -38 lines 0 comments Download
M webkit/renderer/media/webmediaplayer_impl.h View 1 2 2 chunks +4 lines, -8 lines 0 comments Download
M webkit/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 11 chunks +34 lines, -34 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ddorwin
I need to update the Android code after this gets reviewed.
7 years, 6 months ago (2013-06-17 20:57:11 UTC) #1
xhwang
Looking good w/ only nits. Will stampit after Android is updated as well. https://codereview.chromium.org/17289006/diff/1017/webkit/plugins/ppapi/content_decryptor_delegate.cc File ...
7 years, 6 months ago (2013-06-18 00:43:42 UTC) #2
ddorwin
Now with Android changes. https://codereview.chromium.org/17289006/diff/1017/webkit/plugins/ppapi/content_decryptor_delegate.cc File webkit/plugins/ppapi/content_decryptor_delegate.cc (right): https://codereview.chromium.org/17289006/diff/1017/webkit/plugins/ppapi/content_decryptor_delegate.cc#newcode634 webkit/plugins/ppapi/content_decryptor_delegate.cc:634: std::string(), media::MediaKeys::kUnknownError, 0); On 2013/06/18 ...
7 years, 6 months ago (2013-06-18 16:46:21 UTC) #3
qinmin
https://codereview.chromium.org/17289006/diff/53001/content/common/media/media_player_messages_android.h File content/common/media/media_player_messages_android.h (left): https://codereview.chromium.org/17289006/diff/53001/content/common/media/media_player_messages_android.h#oldcode220 content/common/media/media_player_messages_android.h:220: std::string /* key_system */, If no key_system in GenerateKeyRequest, ...
7 years, 6 months ago (2013-06-18 17:01:00 UTC) #4
ddorwin
https://codereview.chromium.org/17289006/diff/53001/content/common/media/media_player_messages_android.h File content/common/media/media_player_messages_android.h (left): https://codereview.chromium.org/17289006/diff/53001/content/common/media/media_player_messages_android.h#oldcode220 content/common/media/media_player_messages_android.h:220: std::string /* key_system */, On 2013/06/18 17:01:00, qinmin wrote: ...
7 years, 6 months ago (2013-06-18 17:34:06 UTC) #5
qinmin
lgtm
7 years, 6 months ago (2013-06-18 17:58:35 UTC) #6
xhwang
lgtm
7 years, 6 months ago (2013-06-18 18:20:12 UTC) #7
ddorwin
yfriedman, please review the first two files. (Should we move these to a media/ directory ...
7 years, 6 months ago (2013-06-18 18:31:42 UTC) #8
ddorwin
jschuh, please review content/common/media/media_player_messages_android.h.
7 years, 6 months ago (2013-06-18 18:47:16 UTC) #9
Yaron
content/browser/android lgtm
7 years, 6 months ago (2013-06-18 20:24:39 UTC) #10
dmichael (off chromium)
one comment, o/w lgtm https://codereview.chromium.org/17289006/diff/53001/webkit/plugins/ppapi/content_decryptor_delegate.cc File webkit/plugins/ppapi/content_decryptor_delegate.cc (right): https://codereview.chromium.org/17289006/diff/53001/webkit/plugins/ppapi/content_decryptor_delegate.cc#newcode647 webkit/plugins/ppapi/content_decryptor_delegate.cc:647: DCHECK(StringVar::FromPPVar(key_system_var)->value() == key_system_); I think ...
7 years, 6 months ago (2013-06-18 21:45:31 UTC) #11
ddorwin
cdn, please review content/common/media/media_player_messages_android.h.
7 years, 6 months ago (2013-06-18 23:58:17 UTC) #12
ddorwin
https://codereview.chromium.org/17289006/diff/53001/webkit/plugins/ppapi/content_decryptor_delegate.cc File webkit/plugins/ppapi/content_decryptor_delegate.cc (right): https://codereview.chromium.org/17289006/diff/53001/webkit/plugins/ppapi/content_decryptor_delegate.cc#newcode647 webkit/plugins/ppapi/content_decryptor_delegate.cc:647: DCHECK(StringVar::FromPPVar(key_system_var)->value() == key_system_); On 2013/06/18 21:45:31, dmichael wrote: > ...
7 years, 6 months ago (2013-06-19 00:29:27 UTC) #13
ddorwin
7 years, 6 months ago (2013-06-19 00:52:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #13 manually as r207131 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698