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

Unified Diff: media/filters/dummy_demuxer.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/filters/chunk_demuxer.cc ('k') | media/filters/dummy_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/dummy_demuxer.h
diff --git a/media/filters/dummy_demuxer.h b/media/filters/dummy_demuxer.h
index e62c11760eb9c7fe39644156da927ce6a9fa3c8d..9cb184b78a51f3f119e9398d52028269e2582953 100644
--- a/media/filters/dummy_demuxer.h
+++ b/media/filters/dummy_demuxer.h
@@ -29,9 +29,10 @@ class DummyDemuxerStream : public DemuxerStream {
virtual const VideoDecoderConfig& video_decoder_config() OVERRIDE;
virtual void EnableBitstreamConverter() OVERRIDE;
- private:
+ protected:
virtual ~DummyDemuxerStream();
+ private:
Type type_;
AudioDecoderConfig audio_config_;
VideoDecoderConfig video_config_;
@@ -42,7 +43,6 @@ class DummyDemuxerStream : public DemuxerStream {
class MEDIA_EXPORT DummyDemuxer : public Demuxer {
public:
DummyDemuxer(bool has_video, bool has_audio);
- virtual ~DummyDemuxer();
// Demuxer implementation.
virtual void Initialize(DemuxerHost* host,
@@ -52,6 +52,9 @@ class MEDIA_EXPORT DummyDemuxer : public Demuxer {
virtual base::TimeDelta GetStartTime() const OVERRIDE;
virtual int GetBitrate() OVERRIDE;
+ protected:
+ virtual ~DummyDemuxer();
+
private:
bool has_video_;
bool has_audio_;
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/dummy_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698