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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_media_application.h
diff --git a/media/mojo/services/mojo_media_application.h b/media/mojo/services/mojo_media_application.h
index 0b513185b6d310b5199b4633deff8461a57ed9db..70ab9bedd5c9a8f490612a413980534966c0f31e 100644
--- a/media/mojo/services/mojo_media_application.h
+++ b/media/mojo/services/mojo_media_application.h
@@ -27,8 +27,9 @@ class MediaLog;
class MojoMediaClient;
class MEDIA_MOJO_EXPORT MojoMediaApplication
- : public NON_EXPORTED_BASE(shell::Service),
- public NON_EXPORTED_BASE(shell::InterfaceFactory<mojom::MediaService>),
+ : public NON_EXPORTED_BASE(service_manager::Service),
+ public NON_EXPORTED_BASE(
+ service_manager::InterfaceFactory<mojom::MediaService>),
public NON_EXPORTED_BASE(mojom::MediaService) {
public:
MojoMediaApplication(std::unique_ptr<MojoMediaClient> mojo_media_client,
@@ -36,20 +37,20 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
~MojoMediaApplication() final;
private:
- // shell::Service implementation.
- void OnStart(const shell::Identity& identity) final;
- bool OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry) final;
+ // service_manager::Service implementation.
+ void OnStart(const service_manager::Identity& identity) final;
+ bool OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry) final;
bool OnStop() final;
- // shell::InterfaceFactory<mojom::MediaService> implementation.
- void Create(const shell::Identity& remote_identity,
+ // service_manager::InterfaceFactory<mojom::MediaService> implementation.
+ void Create(const service_manager::Identity& remote_identity,
mojom::MediaServiceRequest request) final;
// mojom::MediaService implementation.
void CreateServiceFactory(
mojom::ServiceFactoryRequest request,
- shell::mojom::InterfaceProviderPtr remote_interfaces) final;
+ service_manager::mojom::InterfaceProviderPtr remote_interfaces) final;
// Note: Since each instance runs on a different thread, do not share a common
// MojoMediaClient with other instances to avoid threading issues. Hence using
@@ -57,7 +58,7 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
std::unique_ptr<MojoMediaClient> mojo_media_client_;
scoped_refptr<MediaLog> media_log_;
- shell::ServiceContextRefFactory ref_factory_;
+ service_manager::ServiceContextRefFactory ref_factory_;
mojo::BindingSet<mojom::MediaService> bindings_;
};
« no previous file with comments | « media/mojo/services/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698