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

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

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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/mojo/services/mojo_media_application.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 5120586ef0c88901df471e3f8b765aa3fc48dadf..37a50ffada79c2dfece7c00f39764b2db79ca35c 100644
--- a/media/mojo/services/service_factory_impl.h
+++ b/media/mojo/services/service_factory_impl.h
@@ -10,10 +10,11 @@
#include "media/mojo/interfaces/service_factory.mojom.h"
#include "media/mojo/services/mojo_cdm_service_context.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/connector.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
namespace mojo {
-class AppRefCount;
+class MessageLoopRef;
namespace shell {
namespace mojom {
class InterfaceProvider;
@@ -33,7 +34,7 @@ class ServiceFactoryImpl : public interfaces::ServiceFactory {
ServiceFactoryImpl(mojo::InterfaceRequest<interfaces::ServiceFactory> request,
mojo::shell::mojom::InterfaceProvider* interfaces,
scoped_refptr<MediaLog> media_log,
- scoped_ptr<mojo::AppRefCount> parent_app_refcount,
+ scoped_ptr<mojo::MessageLoopRef> parent_app_refcount,
MojoMediaClient* mojo_media_client);
~ServiceFactoryImpl() final;
@@ -52,7 +53,7 @@ class ServiceFactoryImpl : public interfaces::ServiceFactory {
mojo::StrongBinding<interfaces::ServiceFactory> binding_;
mojo::shell::mojom::InterfaceProvider* interfaces_;
scoped_refptr<MediaLog> media_log_;
- scoped_ptr<mojo::AppRefCount> parent_app_refcount_;
+ scoped_ptr<mojo::MessageLoopRef> parent_app_refcount_;
MojoMediaClient* mojo_media_client_;
scoped_ptr<RendererFactory> renderer_factory_;
« no previous file with comments | « media/mojo/services/mojo_media_application.cc ('k') | media/mojo/services/service_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698