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

Unified Diff: media/base/fake_demuxer_stream.h

Issue 2667283002: Refactor MediaResource to be multi-stream capable (Closed)
Patch Set: Created 3 years, 11 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/demuxer_stream.h ('k') | media/base/fake_demuxer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_demuxer_stream.h
diff --git a/media/base/fake_demuxer_stream.h b/media/base/fake_demuxer_stream.h
index 14b86ff65fe4c357d815711d05182931aa099816..c4eeba43c02a78307880e61e2919793aa8734f38 100644
--- a/media/base/fake_demuxer_stream.h
+++ b/media/base/fake_demuxer_stream.h
@@ -37,7 +37,6 @@ class FakeDemuxerStream : public DemuxerStream {
VideoRotation video_rotation() override;
bool enabled() const override;
void set_enabled(bool enabled, base::TimeDelta timestamp) override;
- void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
void Initialize();
@@ -112,7 +111,8 @@ class FakeMediaResource : public MediaResource {
~FakeMediaResource() override;
// MediaResource implementation.
- DemuxerStream* GetStream(DemuxerStream::Type type) override;
+ std::vector<DemuxerStream*> GetStreams() override;
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
private:
FakeDemuxerStream fake_video_stream_;
« no previous file with comments | « media/base/demuxer_stream.h ('k') | media/base/fake_demuxer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698