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

Unified Diff: media/filters/chunk_demuxer_factory.h

Issue 9015015: Take advantage of the new Pass() machinery on scoped_ptr{,_malloc}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/filters/chunk_demuxer.cc ('k') | media/filters/chunk_demuxer_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer_factory.h
diff --git a/media/filters/chunk_demuxer_factory.h b/media/filters/chunk_demuxer_factory.h
index 2cad89790557ad9ee8ae0dfcb93912e808e780d1..bee27dc4e18737090ae545e29caf8127c7b7ebb7 100644
--- a/media/filters/chunk_demuxer_factory.h
+++ b/media/filters/chunk_demuxer_factory.h
@@ -22,14 +22,14 @@ class ChunkDemuxerClient;
// ChunkDemuxer should be used for playback.
class MEDIA_EXPORT ChunkDemuxerFactory : public DemuxerFactory {
public:
- // Takes ownership of |delegate_factory|.
- ChunkDemuxerFactory(const std::string& url, DemuxerFactory* delegate_factory,
+ ChunkDemuxerFactory(const std::string& url,
+ scoped_ptr<DemuxerFactory> delegate_factory,
ChunkDemuxerClient* client);
virtual ~ChunkDemuxerFactory();
// DemuxerFactory methods.
virtual void Build(const std::string& url, const BuildCallback& cb) OVERRIDE;
- virtual DemuxerFactory* Clone() const OVERRIDE;
+ virtual scoped_ptr<DemuxerFactory> Clone() const OVERRIDE;
private:
std::string url_;
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/chunk_demuxer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698