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

Unified Diff: media/base/mock_filters.h

Issue 141243003: Add AudioBufferStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decoderstream_rebased
Patch Set: add TODOs Created 6 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/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 96c560484e4da2e93fe84c8393eb3083b1f0cd15..8b2a1c2d0a337b52af72640da0a06165ade49a48 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -91,10 +91,11 @@ class MockAudioDecoder : public AudioDecoder {
virtual ~MockAudioDecoder();
// AudioDecoder implementation.
- MOCK_METHOD3(Initialize, void(DemuxerStream*,
- const PipelineStatusCB&,
- const StatisticsCB&));
- MOCK_METHOD1(Read, void(const ReadCB&));
+ MOCK_METHOD2(Initialize, void(const AudioDecoderConfig& config,
+ const PipelineStatusCB&));
+ MOCK_METHOD2(Decode,
+ void(const scoped_refptr<DecoderBuffer>& buffer,
+ const DecodeCB&));
MOCK_METHOD0(bits_per_channel, int(void));
MOCK_METHOD0(channel_layout, ChannelLayout(void));
MOCK_METHOD0(samples_per_second, int(void));

Powered by Google App Engine
This is Rietveld 408576698