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

Unified Diff: media/base/filter_collection.h

Issue 9860027: Remove DemuxerFactory and URL parameter from Pipeline. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: again Created 8 years, 9 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/demuxer_factory.cc ('k') | media/base/filter_collection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_collection.h
diff --git a/media/base/filter_collection.h b/media/base/filter_collection.h
index c3629a1513a170130bf9a582473811f2266cb519..8d8591d9dcda50a8f4b4a445faa3ee7668c378e7 100644
--- a/media/base/filter_collection.h
+++ b/media/base/filter_collection.h
@@ -8,7 +8,7 @@
#include <list>
#include "base/memory/ref_counted.h"
-#include "media/base/demuxer_factory.h"
+#include "media/base/demuxer.h"
#include "media/base/filters.h"
namespace media {
@@ -22,9 +22,9 @@ class MEDIA_EXPORT FilterCollection {
FilterCollection();
~FilterCollection();
- // DemuxerFactory accessor methods.
- void SetDemuxerFactory(scoped_ptr<DemuxerFactory> factory);
- DemuxerFactory* GetDemuxerFactory();
+ // Demuxer accessor methods.
+ void SetDemuxer(const scoped_refptr<Demuxer>& demuxer);
+ const scoped_refptr<Demuxer>& GetDemuxer();
// Adds a filter to the collection.
void AddAudioDecoder(AudioDecoder* audio_decoder);
@@ -60,7 +60,7 @@ class MEDIA_EXPORT FilterCollection {
typedef std::pair<FilterType, scoped_refptr<Filter> > FilterListElement;
typedef std::list<FilterListElement> FilterList;
FilterList filters_;
- scoped_ptr<DemuxerFactory> demuxer_factory_;
+ scoped_refptr<Demuxer> demuxer_;
std::list<scoped_refptr<AudioDecoder> > audio_decoders_;
std::list<scoped_refptr<VideoDecoder> > video_decoders_;
« no previous file with comments | « media/base/demuxer_factory.cc ('k') | media/base/filter_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698