Chromium Code Reviews| Index: media/base/demuxer.h |
| diff --git a/media/base/demuxer.h b/media/base/demuxer.h |
| index 9b671f007cb65e2ed9b3eda6157c1ca0db6a2ed5..f6c7517e8c007e53871ca6ee364da0177142dbd7 100644 |
| --- a/media/base/demuxer.h |
| +++ b/media/base/demuxer.h |
| @@ -17,8 +17,12 @@ namespace media { |
| class TextTrackConfig; |
| -class MEDIA_EXPORT DemuxerHost : public DataSourceHost { |
| +class MEDIA_EXPORT DemuxerHost { |
| public: |
| + // Notify the host that time range [start,end] has been buffered. |
| + virtual void AddBufferedTimeRange(base::TimeDelta start, |
| + base::TimeDelta end) = 0; |
| + |
| // Sets the duration of the media in microseconds. |
| // Duration may be kInfiniteDuration() if the duration is not known. |
| virtual void SetDuration(base::TimeDelta duration) = 0; |
| @@ -31,9 +35,6 @@ class MEDIA_EXPORT DemuxerHost : public DataSourceHost { |
| virtual void AddTextStream(DemuxerStream* text_stream, |
| const TextTrackConfig& config) = 0; |
| - // Remove |text_stream| from the presentation. |
| - virtual void RemoveTextStream(DemuxerStream* text_stream) = 0; |
|
scherkus (not reviewing)
2014/03/26 21:50:12
what happened to this method?
sandersd (OOO until July 31)
2014/03/26 22:11:12
It's never called, but this is the right place for
|
| - |
| protected: |
| virtual ~DemuxerHost(); |
| }; |