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

Unified Diff: media/base/media_resource.cc

Issue 2491043003: MediaResource refactoring to support multiple streams (Closed)
Patch Set: rebase 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
Index: media/base/media_resource.cc
diff --git a/media/base/demuxer_stream_provider.cc b/media/base/media_resource.cc
similarity index 50%
rename from media/base/demuxer_stream_provider.cc
rename to media/base/media_resource.cc
index 7253417dd4097d4ea9593962fac4f9b30bba1118..ee157f3b06a331fa1473ef93a926e69c60ce2c44 100644
--- a/media/base/demuxer_stream_provider.cc
+++ b/media/base/media_resource.cc
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/base/demuxer_stream_provider.h"
+#include "media/base/media_resource.h"
namespace media {
-DemuxerStreamProvider::DemuxerStreamProvider() {}
+MediaResource::MediaResource() {}
-DemuxerStreamProvider::~DemuxerStreamProvider() {}
+MediaResource::~MediaResource() {}
-MediaUrlParams DemuxerStreamProvider::GetMediaUrlParams() const {
+MediaUrlParams MediaResource::GetMediaUrlParams() const {
NOTREACHED();
return MediaUrlParams{GURL(), GURL()};
}
-DemuxerStreamProvider::Type DemuxerStreamProvider::GetType() const {
+MediaResource::Type MediaResource::GetType() const {
return STREAM;
}

Powered by Google App Engine
This is Rietveld 408576698