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

Unified Diff: media/base/mock_filters.cc

Issue 6171009: Remove MessageLoop methods from Filter interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied more CR suggestions & removed message_loop() methods where possible. Created 9 years, 11 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/filters/decoder_base.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 39ed730928222fbfdbfe7e9a3ec5d0025300be72..b6eea6a3e1093fa885044cb0aebb339877807f4d 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -86,23 +86,9 @@ 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() {
}
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/filters/decoder_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698