Move AesDecryptor creation from RenderCdmFactory to media/.
commit41a6abc1d8867ae07d42fc9347014308b92ee7ff
authorxhwang <xhwang@chromium.org>
Wed, 19 Nov 2014 19:39:38 +0000 (19 11:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 19 Nov 2014 19:39:53 +0000 (19 19:39 +0000)
treef4a8ffb486dc434ee0233db03474b7f171579db8
parent6ad4d84511e57154877e0bfca3783cd844ae21bd
Move AesDecryptor creation from RenderCdmFactory to media/.

We need to be able to create AesDecryptor even when RenderCdmFactory is not
used.

With this CL, we can play media encrypted with Clear Key key system in HTMLViewer!

BUG=422730
TEST=out/GN/mojo_shell http://<host>/clearkey-audio-only.html

Review URL: https://codereview.chromium.org/726543006

Cr-Commit-Position: refs/heads/master@{#304867}
media/blink/cdm_session_adapter.cc
media/blink/encrypted_media_player_support.cc
media/cdm/proxy_decryptor.cc