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

Unified Diff: media/base/mock_filters.h

Issue 8417019: Simplify VideoDecodeEngine interface by making everything synchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 1 month 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 8199b885fbd4e486fab876c1157c959230d17b91..d00825d8713f956a29663f22e31573e4dd434d2a 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -187,13 +187,9 @@ class MockVideoDecoder : public VideoDecoder {
MOCK_METHOD3(Initialize, void(DemuxerStream* stream,
const base::Closure& callback,
const StatisticsCallback& stats_callback));
- MOCK_METHOD1(ProduceVideoFrame, void(scoped_refptr<VideoFrame>));
+ MOCK_METHOD1(Read, void(const ReadCB& callback));
MOCK_METHOD0(natural_size, gfx::Size());
- void VideoFrameReadyForTest(scoped_refptr<VideoFrame> frame) {
- VideoDecoder::VideoFrameReady(frame);
- }
-
protected:
virtual ~MockVideoDecoder();

Powered by Google App Engine
This is Rietveld 408576698