diff options
author | jrummell <jrummell@chromium.org> | 2015-03-02 14:48:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-02 22:49:21 +0000 |
commit | 74fc4f9447f3ea2e277350dccce4de67e5ee4ea4 (patch) | |
tree | 5421eca29629684887a485bac69460fc6cbd5032 /media/test/pipeline_integration_test_base.h | |
parent | e86e411c3038fd5be67438da29f0ff17828f226f (diff) | |
download | chromium_src-74fc4f9447f3ea2e277350dccce4de67e5ee4ea4.zip chromium_src-74fc4f9447f3ea2e277350dccce4de67e5ee4ea4.tar.gz chromium_src-74fc4f9447f3ea2e277350dccce4de67e5ee4ea4.tar.bz2 |
Decryptors can report kNoKey to WebMediaPlayer
Add callback so that kNoKey can get passed to blink in order
to generate the HTMLMediaElement.waitingforkey event.
BUG=337975
TEST=updated tests pass
Review URL: https://codereview.chromium.org/935243002
Cr-Commit-Position: refs/heads/master@{#318787}
Diffstat (limited to 'media/test/pipeline_integration_test_base.h')
-rw-r--r-- | media/test/pipeline_integration_test_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/test/pipeline_integration_test_base.h b/media/test/pipeline_integration_test_base.h index de6c0e0..716e27c 100644 --- a/media/test/pipeline_integration_test_base.h +++ b/media/test/pipeline_integration_test_base.h @@ -140,6 +140,7 @@ class PipelineIntegrationTestBase { MOCK_METHOD2(OnAddTextTrack, void(const TextTrackConfig& config, const AddTextTrackDoneCB& done_cb)); + MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); }; } // namespace media |