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

Unified Diff: media/mojo/services/media_service.h

Issue 2884163002: media: Use StrongBindingSet for InterfaceFactoryImpl in MediaService (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | media/mojo/services/media_service.cc » ('j') | media/mojo/services/media_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_service.h
diff --git a/media/mojo/services/media_service.h b/media/mojo/services/media_service.h
index 2efd74a25de9949b56d99766952e1ce23dd3200f..a2d4704dd9e517186e43ab679444c2d6bdf12ff2 100644
--- a/media/mojo/services/media_service.h
+++ b/media/mojo/services/media_service.h
@@ -17,6 +17,7 @@
#include "media/mojo/interfaces/media_service.mojom.h"
#include "media/mojo/services/media_mojo_export.h"
#include "mojo/public/cpp/bindings/binding_set.h"
+#include "mojo/public/cpp/bindings/strong_binding_set.h"
#include "services/service_manager/public/cpp/binder_registry.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_context.h"
@@ -55,6 +56,8 @@ class MEDIA_MOJO_EXPORT MediaService
// a unique_ptr here.
std::unique_ptr<MojoMediaClient> mojo_media_client_;
+ mojo::StrongBindingSet<mojom::InterfaceFactory> interface_factory_bindings_;
+
MediaLog media_log_;
std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_;
« no previous file with comments | « no previous file | media/mojo/services/media_service.cc » ('j') | media/mojo/services/media_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698