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

Unified Diff: media/base/media_url_demuxer.h

Issue 2668393002: Rename DemuxerStreamProvider into MediaResource (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_url_demuxer.h
diff --git a/media/base/media_url_demuxer.h b/media/base/media_url_demuxer.h
index bbcbc8a421d9090ec03ed2df9e6b5146b7d530b1..ae092c6daaa92ffaf8d009d6736303c4b4e85e99 100644
--- a/media/base/media_url_demuxer.h
+++ b/media/base/media_url_demuxer.h
@@ -27,9 +27,9 @@ namespace media {
// its implementation of the Demuxer are NOPs that return the default values and
// fire any provided callbacks immediately.
//
-// If Pipeline where to be refactored to use a DemuxerStreamProvider instead of
+// If Pipeline where to be refactored to use a MediaResource instead of
// a Demuxer, MediaUrlDemuxer should be refactored to inherit directly from
-// DemuxerStreamProvider.
+// MediaResource.
class MEDIA_EXPORT MediaUrlDemuxer : public Demuxer {
public:
MediaUrlDemuxer(
@@ -38,10 +38,10 @@ class MEDIA_EXPORT MediaUrlDemuxer : public Demuxer {
const GURL& first_party_for_cookies);
~MediaUrlDemuxer() override;
- // DemuxerStreamProvider interface.
+ // MediaResource interface.
DemuxerStream* GetStream(DemuxerStream::Type type) override;
MediaUrlParams GetMediaUrlParams() const override;
- DemuxerStreamProvider::Type GetType() const override;
+ MediaResource::Type GetType() const override;
// Demuxer interface.
std::string GetDisplayName() const override;

Powered by Google App Engine
This is Rietveld 408576698