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

Unified Diff: media/base/demuxer_stream.h

Issue 2491043003: MediaResource refactoring to support multiple streams (Closed)
Patch Set: Reintroduc GetFirstStream API and return only enabled streams from GetAllStreams Created 3 years, 10 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
Index: media/base/demuxer_stream.h
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
index 82d5d048318fad1994c5b8fd445fad527f39e93c..366d26e0ea660944b0d84ad219ab2063f5b52508 100644
--- a/media/base/demuxer_stream.h
+++ b/media/base/demuxer_stream.h
@@ -104,13 +104,6 @@ class MEDIA_EXPORT DemuxerStream {
// reading data from a key frame preceeding the |timestamp|.
virtual void set_enabled(bool enabled, base::TimeDelta timestamp) = 0;
xhwang 2017/02/15 05:32:19 Will we remove this method in later CLs? If so, ca
servolk 2017/02/15 17:39:16 No, I wasn't planning to remove this. Why would we
xhwang 2017/02/15 17:43:53 This should only be exposed to demuxers, not to th
- // The StreamStatusChangeCB allows DemuxerStream clients to receive
- // notifications about the stream being disabled or enabled.
- // The first parameter indicates whether the stream is enabled or disabled.
- // The second parameter is the playback position when the change occured.
- using StreamStatusChangeCB = base::Callback<void(bool, base::TimeDelta)>;
- virtual void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) = 0;
-
protected:
// Only allow concrete implementations to get deleted.
virtual ~DemuxerStream();

Powered by Google App Engine
This is Rietveld 408576698