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

Unified Diff: media/base/mock_filters.h

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/message_loop_factory_impl.cc ('k') | media/base/mock_filters.cc » ('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 5f43356453d7e5086f4c5e2bfd4c582e54fc3799..ddbf76a241e413c567ee36890fc1e256f2659f5a 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -97,12 +97,8 @@ class MockFilterCallback {
class MockFilter : public Filter {
public:
MockFilter();
- MockFilter(bool requires_message_loop);
// Filter implementation.
- virtual bool requires_message_loop() const;
- virtual const char* message_loop_name() const;
-
MOCK_METHOD1(Play, void(FilterCallback* callback));
MOCK_METHOD1(Pause, void(FilterCallback* callback));
MOCK_METHOD1(Flush, void(FilterCallback* callback));
@@ -115,9 +111,6 @@ class MockFilter : public Filter {
virtual ~MockFilter();
private:
-
- bool requires_message_loop_;
-
DISALLOW_COPY_AND_ASSIGN(MockFilter);
};
« no previous file with comments | « media/base/message_loop_factory_impl.cc ('k') | media/base/mock_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698