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

Unified Diff: media/base/mock_filters.h

Issue 3030013: preparation for recycling buffer, patch 2 (Closed)
Patch Set: fix layout test Created 10 years, 4 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/filters.h ('k') | media/base/pipeline_impl.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 ac9aab6432ae1922a04fd39b9f820c73ae2805bc..7f1bdafb5d1c8aafca6f5b77359968597da7ba3e 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -172,6 +172,7 @@ class MockVideoDecoder : public VideoDecoder {
FilterCallback* callback));
MOCK_METHOD0(media_format, const MediaFormat&());
MOCK_METHOD1(FillThisBuffer, void(scoped_refptr<VideoFrame>));
+ MOCK_METHOD0(ProvidesBuffer, bool());
protected:
virtual ~MockVideoDecoder() {}
@@ -222,6 +223,7 @@ class MockVideoRenderer : public VideoRenderer {
MOCK_METHOD2(Initialize, void(VideoDecoder* decoder,
FilterCallback* callback));
MOCK_METHOD0(HasEnded, bool());
+ MOCK_METHOD1(FillThisBufferDone, void(scoped_refptr<VideoFrame> frame));
protected:
virtual ~MockVideoRenderer() {}
« no previous file with comments | « media/base/filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698