| Index: media/base/demuxer.h
|
| diff --git a/media/base/demuxer.h b/media/base/demuxer.h
|
| index 34150af00b3f9c9a433b7d886cbbed433a1a5b4f..5573cad2b94634537cd9b6fa46234e8fe78e4ee7 100644
|
| --- a/media/base/demuxer.h
|
| +++ b/media/base/demuxer.h
|
| @@ -5,7 +5,6 @@
|
| #ifndef MEDIA_BASE_DEMUXER_H_
|
| #define MEDIA_BASE_DEMUXER_H_
|
|
|
| -#include "base/memory/ref_counted.h"
|
| #include "base/time.h"
|
| #include "media/base/data_source.h"
|
| #include "media/base/demuxer_stream.h"
|
| @@ -28,9 +27,10 @@ class MEDIA_EXPORT DemuxerHost : public DataSourceHost {
|
| virtual ~DemuxerHost();
|
| };
|
|
|
| -class MEDIA_EXPORT Demuxer : public base::RefCountedThreadSafe<Demuxer> {
|
| +class MEDIA_EXPORT Demuxer {
|
| public:
|
| Demuxer();
|
| + virtual ~Demuxer();
|
|
|
| // Completes initialization of the demuxer.
|
| //
|
| @@ -59,15 +59,11 @@ class MEDIA_EXPORT Demuxer : public base::RefCountedThreadSafe<Demuxer> {
|
| virtual void OnAudioRendererDisabled();
|
|
|
| // Returns the given stream type, or NULL if that type is not present.
|
| - virtual scoped_refptr<DemuxerStream> GetStream(DemuxerStream::Type type) = 0;
|
| + virtual DemuxerStream* GetStream(DemuxerStream::Type type) = 0;
|
|
|
| // Returns the starting time for the media file.
|
| virtual base::TimeDelta GetStartTime() const = 0;
|
|
|
| - protected:
|
| - friend class base::RefCountedThreadSafe<Demuxer>;
|
| - virtual ~Demuxer();
|
| -
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(Demuxer);
|
| };
|
|
|