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

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
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..2cc65c8f62b3e565dbd820ce9aeee3046fbff9e3 100644
--- a/media/mojo/services/service_factory_impl.h
+++ b/media/mojo/services/service_factory_impl.h
@@ -10,10 +10,10 @@
#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"
namespace mojo {
-class AppRefCount;
+class MessageLoopRef;
namespace shell {
namespace mojom {
class InterfaceProvider;
@@ -33,7 +33,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 +52,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_;

Powered by Google App Engine
This is Rietveld 408576698