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

Unified Diff: components/web_view/frame_apptest.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
« no previous file with comments | « components/resource_provider/resource_provider_app.cc ('k') | components/web_view/frame_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_apptest.cc
diff --git a/components/web_view/frame_apptest.cc b/components/web_view/frame_apptest.cc
index cd79680ee0ba2dc293ba741789f178bd6dcab746..5dec81940a76c4176e4515c6e57fad8820ad6b55 100644
--- a/components/web_view/frame_apptest.cc
+++ b/components/web_view/frame_apptest.cc
@@ -354,8 +354,8 @@ class FrameTest : public mojo::test::ApplicationTestBase,
// mojo::ShellClient implementation.
bool AcceptConnection(mojo::Connection* connection) override {
- connection->AddService<mus::mojom::WindowTreeClient>(this);
- connection->AddService<mojom::FrameClient>(this);
+ connection->AddInterface<mus::mojom::WindowTreeClient>(this);
+ connection->AddInterface<mojom::FrameClient>(this);
return true;
}
« no previous file with comments | « components/resource_provider/resource_provider_app.cc ('k') | components/web_view/frame_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698