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

Unified Diff: media/base/composite_filter.h

Issue 8686010: <video> decode in hardware! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop INTRA/CONSTRAINED in profile, add missing 'virtual', add MEDIA_EXPORT, fix RemoveFilter loop Created 9 years 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/composite_filter.h
diff --git a/media/base/composite_filter.h b/media/base/composite_filter.h
index 4b35be3f8f3787712018df21a53ea964bf0bd1ea..9821d03facf473a85801eaa1ac7ef403836f0c01 100644
--- a/media/base/composite_filter.h
+++ b/media/base/composite_filter.h
@@ -27,6 +27,9 @@ class MEDIA_EXPORT CompositeFilter : public Filter {
// because the composite is in the wrong state.
bool AddFilter(scoped_refptr<Filter> filter);
+ // Undoes AddFilter's actions. CHECK-fails if |filter| is unknown.
+ void RemoveFilter(scoped_refptr<Filter> filter);
+
// media::Filter methods.
virtual void set_host(FilterHost* host) OVERRIDE;
virtual FilterHost* host() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698