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

Unified Diff: media/filters/audio_decoder_selector_unittest.cc

Issue 935243002: Decryptors can report kNoKey to WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android changes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/audio_decoder_selector_unittest.cc
diff --git a/media/filters/audio_decoder_selector_unittest.cc b/media/filters/audio_decoder_selector_unittest.cc
index 36f7ca64f5313059f207ace71b1207bdcb12b5e9..2bb1f6d263e7261c6e499518e3618dd1f4d53e3c 100644
--- a/media/filters/audio_decoder_selector_unittest.cc
+++ b/media/filters/audio_decoder_selector_unittest.cc
@@ -135,7 +135,8 @@ class AudioDecoderSelectorTest : public ::testing::Test {
base::Unretained(this)),
base::Bind(&AudioDecoderSelectorTest::MockOnDecoderSelected,
base::Unretained(this)),
- base::Bind(&AudioDecoderSelectorTest::OnDecoderOutput));
+ base::Bind(&AudioDecoderSelectorTest::OnDecoderOutput),
+ base::Bind(&AudioDecoderSelectorTest::OnWaitingForDecryptionKey));
message_loop_.RunUntilIdle();
}
@@ -151,6 +152,10 @@ class AudioDecoderSelectorTest : public ::testing::Test {
NOTREACHED();
}
+ static void OnWaitingForDecryptionKey() {
+ NOTREACHED();
+ }
+
// Declare |decoder_selector_| after |demuxer_stream_| and |decryptor_| since
// |demuxer_stream_| and |decryptor_| should outlive |decoder_selector_|.
scoped_ptr<StrictMock<MockDemuxerStream> > demuxer_stream_;

Powered by Google App Engine
This is Rietveld 408576698