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

Unified Diff: services/service_manager/tests/shutdown/shutdown_client_app.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 years, 11 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: services/service_manager/tests/shutdown/shutdown_client_app.cc
diff --git a/services/service_manager/tests/shutdown/shutdown_client_app.cc b/services/service_manager/tests/shutdown/shutdown_client_app.cc
index 6db1bd80243a92755c4868b02a7a8c685328d1a7..9dd6942b3ab8418db08a0720340d64d8b9a01d28 100644
--- a/services/service_manager/tests/shutdown/shutdown_client_app.cc
+++ b/services/service_manager/tests/shutdown/shutdown_client_app.cc
@@ -42,8 +42,7 @@ class ShutdownClientApp
// mojom::ShutdownTestClientController:
void ConnectAndWait(const ConnectAndWaitCallback& callback) override {
mojom::ShutdownTestServicePtr service;
- context()->connector()->ConnectToInterface(
- "shutdown_service", &service);
+ context()->connector()->BindInterface("shutdown_service", &service);
mojo::Binding<mojom::ShutdownTestClient> client_binding(this);
« no previous file with comments | « services/service_manager/tests/service_manager/target.cc ('k') | services/service_manager/tests/shutdown/shutdown_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698