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

Unified Diff: media/mojo/services/media_resource_shim.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/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/media_resource_shim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_resource_shim.h
diff --git a/media/mojo/services/media_resource_shim.h b/media/mojo/services/media_resource_shim.h
index ec7f47c8740ed5467bb836af79a2dab3872223ca..fa8a51461f5c5a8ea370cb7c14ca2c7fa408743f 100644
--- a/media/mojo/services/media_resource_shim.h
+++ b/media/mojo/services/media_resource_shim.h
@@ -26,7 +26,8 @@ class MediaResourceShim : public MediaResource {
~MediaResourceShim() override;
// MediaResource interface.
- DemuxerStream* GetStream(DemuxerStream::Type type) override;
+ std::vector<DemuxerStream*> GetStreams() override;
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
private:
// Called as each mojom::DemuxerStream becomes ready. Once all streams
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/media_resource_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698