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

Unified Diff: components/mus/mus_app.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
Index: components/mus/mus_app.cc
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc
index cd7a78679c2b5518d9cff37a1a64e52e4b8f5867..f8a3b467838f6d983565057c4d3c060036934a8b 100644
--- a/components/mus/mus_app.cc
+++ b/components/mus/mus_app.cc
@@ -91,11 +91,11 @@ void MandolineUIServicesApp::Initialize(mojo::Shell* shell,
}
bool MandolineUIServicesApp::AcceptConnection(Connection* connection) {
- connection->AddService<Gpu>(this);
- connection->AddService<mojom::DisplayManager>(this);
- connection->AddService<mojom::WindowManagerFactoryService>(this);
- connection->AddService<mojom::WindowTreeFactory>(this);
- connection->AddService<WindowTreeHostFactory>(this);
+ connection->AddInterface<Gpu>(this);
+ connection->AddInterface<mojom::DisplayManager>(this);
+ connection->AddInterface<mojom::WindowManagerFactoryService>(this);
+ connection->AddInterface<mojom::WindowTreeFactory>(this);
+ connection->AddInterface<WindowTreeHostFactory>(this);
return true;
}
« no previous file with comments | « components/html_viewer/stats_collection_controller.cc ('k') | components/mus/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698