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

Unified Diff: media/base/media_url_demuxer.cc

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/media_url_demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_url_demuxer.cc
diff --git a/media/base/media_url_demuxer.cc b/media/base/media_url_demuxer.cc
index 5e092fe49b89b379d64309e883eb5fe8faff9b6f..a75dfe45871161a9ecc42af9b062e6733be9d07d 100644
--- a/media/base/media_url_demuxer.cc
+++ b/media/base/media_url_demuxer.cc
@@ -18,9 +18,14 @@ MediaUrlDemuxer::MediaUrlDemuxer(
MediaUrlDemuxer::~MediaUrlDemuxer() {}
// Should never be called since MediaResource::Type is URL.
-DemuxerStream* MediaUrlDemuxer::GetStream(DemuxerStream::Type type) {
+std::vector<DemuxerStream*> MediaUrlDemuxer::GetStreams() {
+ NOTREACHED();
+ return std::vector<DemuxerStream*>();
+}
+
+// Should never be called since MediaResource::Type is URL.
+void MediaUrlDemuxer::SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) {
NOTREACHED();
- return nullptr;
}
MediaUrlParams MediaUrlDemuxer::GetMediaUrlParams() const {
« no previous file with comments | « media/base/media_url_demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698