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

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: recycling: vanquished Created 9 years, 2 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 8199b885fbd4e486fab876c1157c959230d17b91..07339d60f84c1e17c7eb07d6639b31e9aa935a64 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 FrameReadyCB& 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