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

Unified Diff: media/base/mock_filters.cc

Issue 547913002: MediaLog: Log selected audio/video decoder name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index 4bb03e4dbde626560e197464acbd4ac686d44046..55d7eb56a80846cf1282a98152e750f2f515a5e8 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -52,10 +52,18 @@ VideoRotation MockDemuxerStream::video_rotation() {
return VIDEO_ROTATION_0;
}
+std::string MockVideoDecoder::GetDisplayName() const {
+ return "MockVideoDecoder";
+}
+
MockVideoDecoder::MockVideoDecoder() {
EXPECT_CALL(*this, HasAlpha()).WillRepeatedly(Return(false));
}
+std::string MockAudioDecoder::GetDisplayName() const {
+ return "MockAudioDecoder";
+}
+
MockVideoDecoder::~MockVideoDecoder() {}
MockAudioDecoder::MockAudioDecoder() {}
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698