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

Unified Diff: services/ui/ws/window_tree_client_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
« no previous file with comments | « services/ui/ws/window_manager_client_unittest.cc ('k') | services/video_capture/test/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index b051a4b5173700312f55fea07d370bcf3bf81b79..678d33e9e3f68df4521cb6807de657ac0176fddc 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -69,7 +69,7 @@ bool EmbedUrl(service_manager::Connector* connector,
base::RunLoop run_loop;
{
mojom::WindowTreeClientPtr client;
- connector->ConnectToInterface(url, &client);
+ connector->BindInterface(url, &client);
const uint32_t embed_flags = 0;
tree->Embed(root_id, std::move(client), embed_flags,
base::Bind(&EmbedCallbackImpl, &run_loop, &result));
@@ -651,7 +651,7 @@ class WindowTreeClientTest : public WindowServerServiceTestBase {
WindowServerServiceTestBase::SetUp();
mojom::WindowTreeHostFactoryPtr factory;
- connector()->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector()->BindInterface(ui::mojom::kServiceName, &factory);
mojom::WindowTreeClientPtr tree_client_ptr;
wt_client1_ = base::MakeUnique<TestWindowTreeClient>();
« no previous file with comments | « services/ui/ws/window_manager_client_unittest.cc ('k') | services/video_capture/test/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698