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

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

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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_decoder_factory.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 8775edbf6a808067db29269f7752977667a8e63f..373c2215bbe19ffb29b9840482db01cba4933a62 100644
--- a/media/mojo/services/mojo_media_application.h
+++ b/media/mojo/services/mojo_media_application.h
@@ -23,22 +23,22 @@ class MediaLog;
class MojoMediaClient;
class MojoMediaApplication
- : public mojo::ShellClient,
- public mojo::InterfaceFactory<interfaces::ServiceFactory> {
+ : public shell::ShellClient,
+ public shell::InterfaceFactory<interfaces::ServiceFactory> {
public:
explicit MojoMediaApplication(
std::unique_ptr<MojoMediaClient> mojo_media_client);
~MojoMediaApplication() final;
private:
- // mojo::ShellClient implementation.
- void Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+ // shell::ShellClient implementation.
+ void Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t id) final;
- bool AcceptConnection(mojo::Connection* connection) final;
+ bool AcceptConnection(shell::Connection* connection) final;
- // mojo::InterfaceFactory<interfaces::ServiceFactory> implementation.
- void Create(mojo::Connection* connection,
+ // shell::InterfaceFactory<interfaces::ServiceFactory> implementation.
+ void Create(shell::Connection* connection,
mojo::InterfaceRequest<interfaces::ServiceFactory> request) final;
// Note: Since each instance runs on a different thread, do not share a common
@@ -46,9 +46,9 @@ class MojoMediaApplication
// a unique_ptr here.
std::unique_ptr<MojoMediaClient> mojo_media_client_;
- mojo::Connector* connector_;
+ shell::Connector* connector_;
scoped_refptr<MediaLog> media_log_;
- mojo::MessageLoopRefFactory ref_factory_;
+ shell::MessageLoopRefFactory ref_factory_;
};
} // namespace media
« no previous file with comments | « media/mojo/services/mojo_decoder_factory.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698