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

Unified Diff: media/base/mock_filters.h

Issue 16274005: Separate DemuxerStream and VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win64 Created 7 years, 5 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 | « no previous file | media/base/test_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 5522681942155f502b00c19994324c152de95435..e3354779718e76bb68f16db5801a383e2c2c7a3f 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -44,7 +44,7 @@ class MockDemuxer : public Demuxer {
class MockDemuxerStream : public DemuxerStream {
public:
- MockDemuxerStream(DemuxerStream::Type type);
+ explicit MockDemuxerStream(DemuxerStream::Type type);
virtual ~MockDemuxerStream();
// DemuxerStream implementation.
@@ -71,10 +71,11 @@ class MockVideoDecoder : public VideoDecoder {
virtual ~MockVideoDecoder();
// VideoDecoder implementation.
- MOCK_METHOD3(Initialize, void(DemuxerStream*,
+ MOCK_METHOD3(Initialize, void(const VideoDecoderConfig& config,
const PipelineStatusCB&,
const StatisticsCB&));
- MOCK_METHOD1(Read, void(const ReadCB&));
+ MOCK_METHOD2(Decode, void(const scoped_refptr<DecoderBuffer>& buffer,
+ const ReadCB&));
MOCK_METHOD1(Reset, void(const base::Closure&));
MOCK_METHOD1(Stop, void(const base::Closure&));
MOCK_CONST_METHOD0(HasAlpha, bool());
« no previous file with comments | « no previous file | media/base/test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698