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

Unified Diff: services/service_manager/tests/lifecycle/lifecycle_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/lifecycle/lifecycle_unittest.cc
diff --git a/services/service_manager/tests/lifecycle/lifecycle_unittest.cc b/services/service_manager/tests/lifecycle/lifecycle_unittest.cc
index 1f383a9d9cb2b361d757ce0f7e05089998fe2c9b..1e2c9a1fdd7b6a3cb810ba12a14746f660fa8e46 100644
--- a/services/service_manager/tests/lifecycle/lifecycle_unittest.cc
+++ b/services/service_manager/tests/lifecycle/lifecycle_unittest.cc
@@ -159,7 +159,7 @@ class LifecycleTest : public test::ServiceTest {
test::mojom::LifecycleControlPtr ConnectTo(const std::string& name) {
test::mojom::LifecycleControlPtr lifecycle;
- connector()->ConnectToInterface(name, &lifecycle);
+ connector()->BindInterface(name, &lifecycle);
PingPong(lifecycle.get());
return lifecycle;
}
@@ -195,8 +195,8 @@ class LifecycleTest : public test::ServiceTest {
private:
std::unique_ptr<InstanceState> TrackInstances() {
mojom::ServiceManagerPtr service_manager;
- connector()->ConnectToInterface(service_manager::mojom::kServiceName,
- &service_manager);
+ connector()->BindInterface(service_manager::mojom::kServiceName,
+ &service_manager);
mojom::ServiceManagerListenerPtr listener;
base::RunLoop loop;
InstanceState* state = new InstanceState(MakeRequest(&listener), &loop);

Powered by Google App Engine
This is Rietveld 408576698