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

Unified Diff: components/web_view/frame_connection.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/web_view/frame_connection.cc
diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc
index af40457811d6bffcce6f51353847e3d455c8dad4..7ecd3b84d7963d5a2bd8e7e565cabf86747c0b6c 100644
--- a/components/web_view/frame_connection.cc
+++ b/components/web_view/frame_connection.cc
@@ -120,14 +120,14 @@ void FrameConnection::Init(mojo::Shell* shell,
mojo::Shell::ConnectParams params(std::move(request));
params.set_filter(std::move(filter));
connection_ = shell->Connect(&params);
- connection_->ConnectToService(&frame_client_);
+ connection_->GetInterface(&frame_client_);
connection_->AddRemoteIDCallback(on_got_id_callback);
}
mus::mojom::WindowTreeClientPtr FrameConnection::GetWindowTreeClient() {
DCHECK(connection_);
mus::mojom::WindowTreeClientPtr window_tree_client;
- connection_->ConnectToService(&window_tree_client);
+ connection_->GetInterface(&window_tree_client);
return window_tree_client;
}
« no previous file with comments | « components/web_view/frame_apptest.cc ('k') | components/web_view/test_runner/test_runner_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698