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

Unified Diff: media/remoting/fake_media_resource.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/remoting/courier_renderer.cc ('k') | media/remoting/fake_media_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/fake_media_resource.h
diff --git a/media/remoting/fake_media_resource.h b/media/remoting/fake_media_resource.h
index 1132b5b02652e71efad8530417a9bb67e6bdd5ad..30e1a6786b6bec27d9737929392723e8e25f4d0a 100644
--- a/media/remoting/fake_media_resource.h
+++ b/media/remoting/fake_media_resource.h
@@ -33,7 +33,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 CreateFakeFrame(size_t size, bool key_frame, int pts_ms);
@@ -55,7 +54,8 @@ class FakeMediaResource : public MediaResource {
~FakeMediaResource() final;
// MediaResource implementation.
- DemuxerStream* GetStream(DemuxerStream::Type type) override;
+ std::vector<DemuxerStream*> GetStreams() override;
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
private:
std::unique_ptr<FakeDemuxerStream> demuxer_stream_;
« no previous file with comments | « media/remoting/courier_renderer.cc ('k') | media/remoting/fake_media_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698