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

Unified Diff: media/base/mock_filters.cc

Issue 5744002: Refactor PipelineImpl to use CompositeFilter to manage Filter state transitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CR nits & remove dead code. Created 9 years, 12 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/mock_filters.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index f2110ffa36da014d3cd2e9b562c3077ab1e5897a..e2d6ad9afdab52636e2bc47b75bf67647ac1325e 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -20,4 +20,23 @@ void RunStopFilterCallback(FilterCallback* callback) {
delete callback;
}
+MockFilter::MockFilter() :
+ requires_message_loop_(false) {
+}
+
+MockFilter::MockFilter(bool requires_message_loop) :
+ requires_message_loop_(requires_message_loop) {
+}
+
+MockFilter::~MockFilter() {}
+
+bool MockFilter::requires_message_loop() const {
+ return requires_message_loop_;
+}
+
+const char* MockFilter::message_loop_name() const {
+ return "MockFilter";
+}
+
+
} // namespace media
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698