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

Unified Diff: services/service_manager/tests/shutdown/shutdown_unittest.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_unittest.cc
diff --git a/services/service_manager/tests/shutdown/shutdown_unittest.cc b/services/service_manager/tests/shutdown/shutdown_unittest.cc
index 780672cdc53e6102b1c3e8ca708eb0e201d3f2a9..d83ecc63a611fa9231e95cf36a74fc8a99f54bbd 100644
--- a/services/service_manager/tests/shutdown/shutdown_unittest.cc
+++ b/services/service_manager/tests/shutdown/shutdown_unittest.cc
@@ -26,11 +26,11 @@ TEST_F(ShutdownTest, ConnectRace) {
// working as intended.
mojom::ShutdownTestClientControllerPtr control;
- connector()->ConnectToInterface("shutdown_client", &control);
+ connector()->BindInterface("shutdown_client", &control);
// Connect to shutdown_service and immediately request that it shut down.
mojom::ShutdownTestServicePtr service;
- connector()->ConnectToInterface("shutdown_service", &service);
+ connector()->BindInterface("shutdown_service", &service);
service->ShutDown();
// Tell shutdown_client to connect to an interface on shutdown_service and
« no previous file with comments | « services/service_manager/tests/shutdown/shutdown_client_app.cc ('k') | services/service_manager/tests/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698