diff options
author | jrummell@chromium.org <jrummell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-13 04:01:23 +0000 |
---|---|---|
committer | jrummell@chromium.org <jrummell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-13 04:03:03 +0000 |
commit | 9ebc3b03f27ff32c235f3b5c45325e8220725601 (patch) | |
tree | aa94b7e3206bd01c4f84bf6e040c8465ae2f9bbf /athena | |
parent | 87e7f2ca55a367c1cbe886691f96319e02b11ce3 (diff) | |
download | chromium_src-9ebc3b03f27ff32c235f3b5c45325e8220725601.zip chromium_src-9ebc3b03f27ff32c235f3b5c45325e8220725601.tar.gz chromium_src-9ebc3b03f27ff32c235f3b5c45325e8220725601.tar.bz2 |
Allow setContentDecryptionModule() to get called when setting is done.
Decoders can register to get notified when a Decryptor is set.
setContentDecryptionModule() provides a new Decryptor to
WebMediaPlayer. Since the decoders run on the media thread, it may
take some time for the old Decryptor to get detached and a new one
connected. Adding a callback to be used so that
setContentDecryptionModule() knows when the Decoders are done with
the notification. The additional callback is optional. This will be
used to resolve the setMediaKeys() promise on the blink side.
BUG=358271
TEST=media unittests and EME layout tests pass
Review URL: https://codereview.chromium.org/416333011
Cr-Commit-Position: refs/heads/master@{#289197}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'athena')
0 files changed, 0 insertions, 0 deletions