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

Unified Diff: services/media/factory_service/media_source_impl.h

Issue 1945903006: Motown: Move responsibility for binding to MediaFactoryService::Product (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Change per feedback - rename Abort to UnbindAndReleaseFromOwner Created 4 years, 7 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: services/media/factory_service/media_source_impl.h
diff --git a/services/media/factory_service/media_source_impl.h b/services/media/factory_service/media_source_impl.h
index 610daf128a6cf08d943c3420e8ac52f20a98f463..5fdd3eeab0a01bfeaa40c18ba1f97b41bb3dcc80 100644
--- a/services/media/factory_service/media_source_impl.h
+++ b/services/media/factory_service/media_source_impl.h
@@ -26,7 +26,7 @@ namespace mojo {
namespace media {
// Mojo agent that produces streams from an origin specified by URL.
-class MediaSourceImpl : public MediaFactoryService::Product,
+class MediaSourceImpl : public MediaFactoryService::Product<MediaSource>,
public MediaSource {
public:
static std::shared_ptr<MediaSourceImpl> Create(
@@ -112,7 +112,6 @@ class MediaSourceImpl : public MediaFactoryService::Product,
static void RunSeekCallback(const SeekCallback& callback);
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- Binding<MediaSource> binding_;
Array<MediaTypeSetPtr> allowed_media_types_;
Graph graph_;
PartRef demux_part_;
« no previous file with comments | « services/media/factory_service/media_sink_impl.cc ('k') | services/media/factory_service/media_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698