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

Unified Diff: services/media/factory_service/media_demux_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_demux_impl.h
diff --git a/services/media/factory_service/media_demux_impl.h b/services/media/factory_service/media_demux_impl.h
index 91e6fbfe1655b123b140330f237af802f6ce5906..0be243558c3ae3bd0535208cd648040eddc84322 100644
--- a/services/media/factory_service/media_demux_impl.h
+++ b/services/media/factory_service/media_demux_impl.h
@@ -24,7 +24,8 @@ namespace mojo {
namespace media {
// Mojo agent that decodes a stream.
-class MediaDemuxImpl : public MediaFactoryService::Product, public MediaDemux {
+class MediaDemuxImpl : public MediaFactoryService::Product<MediaDemux>,
+ public MediaDemux {
public:
static std::shared_ptr<MediaDemuxImpl> Create(
InterfaceHandle<SeekingReader> reader,
@@ -86,7 +87,6 @@ class MediaDemuxImpl : public MediaFactoryService::Product, public MediaDemux {
static void RunSeekCallback(const SeekCallback& callback);
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- Binding<MediaDemux> binding_;
Graph graph_;
PartRef demux_part_;
std::shared_ptr<Demux> demux_;
« no previous file with comments | « services/media/factory_service/media_decoder_impl.cc ('k') | services/media/factory_service/media_demux_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698