Index: media/base/android/media_codec_decoder_unittest.cc |
diff --git a/media/base/android/media_codec_decoder_unittest.cc b/media/base/android/media_codec_decoder_unittest.cc |
index 9d1b7ab8ae38cdc2bef6e5f8a8eedd2228675365..cb525d63ad59da43592e052857399a57c5e35bcf 100644 |
--- a/media/base/android/media_codec_decoder_unittest.cc |
+++ b/media/base/android/media_codec_decoder_unittest.cc |
@@ -183,6 +183,7 @@ class MediaCodecDecoderTest : public testing::Test { |
void OnStarvation() { is_starved_ = true; } |
void OnDecoderDrained() {} |
void OnStopDone() { is_stopped_ = true; } |
+ void OnKeyRequired() {} |
void OnError() { DVLOG(0) << "MediaCodecDecoderTest::" << __FUNCTION__; } |
void OnUpdateCurrentTime(base::TimeDelta now_playing, |
base::TimeDelta last_buffered, |
@@ -275,6 +276,7 @@ void MediaCodecDecoderTest::CreateAudioDecoder() { |
base::Bind(&MediaCodecDecoderTest::OnDecoderDrained, |
base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnStopDone, base::Unretained(this)), |
+ base::Bind(&MediaCodecDecoderTest::OnKeyRequired, base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnError, base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnUpdateCurrentTime, |
base::Unretained(this)))); |
@@ -291,6 +293,7 @@ void MediaCodecDecoderTest::CreateVideoDecoder() { |
base::Bind(&MediaCodecDecoderTest::OnDecoderDrained, |
base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnStopDone, base::Unretained(this)), |
+ base::Bind(&MediaCodecDecoderTest::OnKeyRequired, base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnError, base::Unretained(this)), |
base::Bind(&MediaCodecDecoderTest::OnUpdateCurrentTime, |
base::Unretained(this)), |