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

Unified Diff: media/base/android/media_codec_decoder_unittest.cc

Issue 1367403003: Added UMA metrics for MediaSourcePlayer and MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-drm
Patch Set: Addressed most of the comments Created 5 years, 3 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/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 29d7012b61235564c2344166ff5f3d97168bce1c..21bebc7a6d3fdb78bd26a22d146d59e3a2446538 100644
--- a/media/base/android/media_codec_decoder_unittest.cc
+++ b/media/base/android/media_codec_decoder_unittest.cc
@@ -279,7 +279,8 @@ void MediaCodecDecoderTest::CreateAudioDecoder() {
base::Bind(&MediaCodecDecoderTest::OnKeyRequired, base::Unretained(this)),
base::Bind(&MediaCodecDecoderTest::OnError, base::Unretained(this)),
base::Bind(&MediaCodecDecoderTest::OnUpdateCurrentTime,
- base::Unretained(this))));
+ base::Unretained(this)),
+ nullptr));
data_available_cb_ = base::Bind(&MediaCodecDecoder::OnDemuxerDataAvailable,
base::Unretained(decoder_.get()));
@@ -300,7 +301,8 @@ void MediaCodecDecoderTest::CreateVideoDecoder() {
base::Bind(&MediaCodecDecoderTest::OnVideoSizeChanged,
base::Unretained(this)),
base::Bind(&MediaCodecDecoderTest::OnVideoCodecCreated,
- base::Unretained(this))));
+ base::Unretained(this)),
+ nullptr));
data_available_cb_ = base::Bind(&MediaCodecDecoder::OnDemuxerDataAvailable,
base::Unretained(decoder_.get()));

Powered by Google App Engine
This is Rietveld 408576698