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

Unified Diff: media/base/demuxer.h

Issue 14217008: Remove reference counting from media::DemuxerStream and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/audio_renderer.h ('k') | media/base/demuxer_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 0a9a15b17fd30e766080e1697e1d450a96b36af0..02c5f310683170638c326c312724f899851a28e9 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -56,10 +56,11 @@ class MEDIA_EXPORT Demuxer {
// need to react to this event.
//
// TODO(acolwell): Change to generic DisableStream(DemuxerStream::Type).
+ // TODO(scherkus): this might not be needed http://crbug.com/234708
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;
« no previous file with comments | « media/base/audio_renderer.h ('k') | media/base/demuxer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698