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

Unified Diff: mash/wm/window_manager_application.cc

Issue 1681813002: Rename Connection::AddService/ConnectToService to Connection::AddInterface/GetInterface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_binder
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 | « mash/shell/shell_application_delegate.cc ('k') | media/mojo/services/media_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_application.cc
diff --git a/mash/wm/window_manager_application.cc b/mash/wm/window_manager_application.cc
index 5a0a5ab7dc28147553171b9e45bcbb64a1095323..704811d383191b5f86fccd1630f2243ab464b7d7 100644
--- a/mash/wm/window_manager_application.cc
+++ b/mash/wm/window_manager_application.cc
@@ -121,8 +121,8 @@ void WindowManagerApplication::Initialize(mojo::Shell* shell,
}
bool WindowManagerApplication::AcceptConnection(mojo::Connection* connection) {
- connection->AddService<mash::wm::mojom::UserWindowController>(this);
- connection->AddService<mus::mojom::AcceleratorRegistrar>(this);
+ connection->AddInterface<mash::wm::mojom::UserWindowController>(this);
+ connection->AddInterface<mus::mojom::AcceleratorRegistrar>(this);
return true;
}
« no previous file with comments | « mash/shell/shell_application_delegate.cc ('k') | media/mojo/services/media_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698