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

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

Issue 1529063004: Pass MojoMediaClient instance to MojoMediaApplication constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added bug number Created 5 years 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/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/service_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/service_factory_impl.h
diff --git a/media/mojo/services/service_factory_impl.h b/media/mojo/services/service_factory_impl.h
index 8357f8ad4e5f1cd429701cf208c168f12112f03c..494f4c01e91566b20687b1e4560d0ebb8c8acc91 100644
--- a/media/mojo/services/service_factory_impl.h
+++ b/media/mojo/services/service_factory_impl.h
@@ -20,6 +20,7 @@ namespace media {
class CdmFactory;
class MediaLog;
+class MojoMediaClient;
class RendererFactory;
class ServiceFactoryImpl : public interfaces::ServiceFactory {
@@ -27,7 +28,8 @@ class ServiceFactoryImpl : public interfaces::ServiceFactory {
ServiceFactoryImpl(mojo::InterfaceRequest<interfaces::ServiceFactory> request,
mojo::ServiceProvider* service_provider,
scoped_refptr<MediaLog> media_log,
- scoped_ptr<mojo::AppRefCount> parent_app_refcount);
+ scoped_ptr<mojo::AppRefCount> parent_app_refcount,
+ MojoMediaClient* mojo_media_client);
~ServiceFactoryImpl() final;
// interfaces::ServiceFactory implementation.
@@ -46,6 +48,7 @@ class ServiceFactoryImpl : public interfaces::ServiceFactory {
mojo::ServiceProvider* service_provider_;
scoped_refptr<MediaLog> media_log_;
scoped_ptr<mojo::AppRefCount> parent_app_refcount_;
+ MojoMediaClient* mojo_media_client_;
scoped_ptr<RendererFactory> renderer_factory_;
scoped_ptr<CdmFactory> cdm_factory_;
« no previous file with comments | « media/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/service_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698