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

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

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_media_application.h ('k') | media/mojo/services/mojo_media_application_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_media_application.cc
diff --git a/media/mojo/services/mojo_media_application.cc b/media/mojo/services/mojo_media_application.cc
index 7ee8e894cd00a84bce20bd7eafe806459bc508e5..76fd23a6d8ef5765e4668c7bd9e8ad61433b1170 100644
--- a/media/mojo/services/mojo_media_application.cc
+++ b/media/mojo/services/mojo_media_application.cc
@@ -25,20 +25,20 @@ MojoMediaApplication::MojoMediaApplication(
MojoMediaApplication::~MojoMediaApplication() {}
-void MojoMediaApplication::Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+void MojoMediaApplication::Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t /* id */) {
connector_ = connector;
mojo_media_client_->Initialize();
}
-bool MojoMediaApplication::AcceptConnection(mojo::Connection* connection) {
+bool MojoMediaApplication::AcceptConnection(shell::Connection* connection) {
connection->AddInterface<interfaces::ServiceFactory>(this);
return true;
}
void MojoMediaApplication::Create(
- mojo::Connection* connection,
+ shell::Connection* connection,
mojo::InterfaceRequest<interfaces::ServiceFactory> request) {
// The created object is owned by the pipe.
new ServiceFactoryImpl(std::move(request), connection->GetRemoteInterfaces(),
« no previous file with comments | « media/mojo/services/mojo_media_application.h ('k') | media/mojo/services/mojo_media_application_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698