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

Unified Diff: components/html_viewer/html_document.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/html_viewer/html_document.cc
diff --git a/components/html_viewer/html_document.cc b/components/html_viewer/html_document.cc
index 364b394c6ea4af41b1aa319dc23a7169dbc99d5e..8e1fa129b8e11a01add5f7681f7e2643f955abe6 100644
--- a/components/html_viewer/html_document.cc
+++ b/components/html_viewer/html_document.cc
@@ -106,12 +106,12 @@ HTMLDocument::HTMLDocument(mojo::Shell* html_document_shell,
frame_(nullptr),
delete_callback_(delete_callback),
factory_(factory) {
- connection->AddService<web_view::mojom::FrameClient>(this);
- connection->AddService<AxProvider>(this);
- connection->AddService<mus::mojom::WindowTreeClient>(this);
- connection->AddService<devtools_service::DevToolsAgent>(this);
+ connection->AddInterface<web_view::mojom::FrameClient>(this);
+ connection->AddInterface<AxProvider>(this);
+ connection->AddInterface<mus::mojom::WindowTreeClient>(this);
+ connection->AddInterface<devtools_service::DevToolsAgent>(this);
if (IsTestInterfaceEnabled())
- connection->AddService<TestHTMLViewer>(this);
+ connection->AddInterface<TestHTMLViewer>(this);
resource_waiter_.reset(
new DocumentResourceWaiter(global_state_, std::move(response), this));
« no previous file with comments | « components/html_viewer/blink_platform_impl.cc ('k') | components/html_viewer/html_document_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698