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

Unified Diff: media/base/filters.h

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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/buffers_unittest.cc ('k') | media/base/mock_callback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filters.h
diff --git a/media/base/filters.h b/media/base/filters.h
index eb58ab4e6c59f06652fb2c8e8cbeb6f73b3113bc..0660663e88f37f102b5d729b1e2c8708591909f4 100644
--- a/media/base/filters.h
+++ b/media/base/filters.h
@@ -121,6 +121,9 @@ class MEDIA_EXPORT VideoRenderer : public Filter {
// Returns true if this filter has received and processed an end-of-stream
// buffer.
virtual bool HasEnded() = 0;
+
+ protected:
+ virtual ~VideoRenderer() {}
};
class MEDIA_EXPORT AudioRenderer : public Filter {
@@ -152,6 +155,9 @@ class MEDIA_EXPORT AudioRenderer : public Filter {
// |buffer_more_audio| is set to true if you want to increase the size of the
// decoded audio buffer.
virtual void ResumeAfterUnderflow(bool buffer_more_audio) = 0;
+
+ protected:
+ virtual ~AudioRenderer() {}
};
} // namespace media
« no previous file with comments | « media/base/buffers_unittest.cc ('k') | media/base/mock_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698