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

Unified Diff: media/base/composite_data_source_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/base/async_filter_factory_base.h ('k') | media/base/composite_data_source_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/composite_data_source_factory.h
diff --git a/media/base/composite_data_source_factory.h b/media/base/composite_data_source_factory.h
index 9f962d84fc7fd625a65430700747c48e70894dce..927e86f404bfecd33d2c31cb0c3f6494d012eff0 100644
--- a/media/base/composite_data_source_factory.h
+++ b/media/base/composite_data_source_factory.h
@@ -19,11 +19,11 @@ class MEDIA_EXPORT CompositeDataSourceFactory
CompositeDataSourceFactory();
virtual ~CompositeDataSourceFactory();
- // Add factory to this composite. Ownership is transferred here.
- void AddFactory(DataSourceFactory* factory);
+ // Add factory to this composite.
+ void AddFactory(scoped_ptr<DataSourceFactory> factory);
// DataSourceFactory method.
- virtual DataSourceFactory* Clone() const OVERRIDE;
+ virtual scoped_ptr<DataSourceFactory> Clone() const OVERRIDE;
protected:
// AsyncDataSourceFactoryBase methods.
« no previous file with comments | « media/base/async_filter_factory_base.h ('k') | media/base/composite_data_source_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698