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

Unified Diff: mandoline/ui/omnibox/omnibox_application.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: mandoline/ui/omnibox/omnibox_application.cc
diff --git a/mandoline/ui/omnibox/omnibox_application.cc b/mandoline/ui/omnibox/omnibox_application.cc
index 0ee9c5b8ef6c087915617af5d41ddc1e7779779a..9a9727f25b88fac82c31cc373554a3f7f31afc68 100644
--- a/mandoline/ui/omnibox/omnibox_application.cc
+++ b/mandoline/ui/omnibox/omnibox_application.cc
@@ -90,7 +90,7 @@ void OmniboxApplication::Initialize(mojo::Shell* shell, const std::string& url,
}
bool OmniboxApplication::AcceptConnection(mojo::Connection* connection) {
- connection->AddService<Omnibox>(this);
+ connection->AddInterface<Omnibox>(this);
return true;
}
@@ -112,7 +112,7 @@ OmniboxImpl::OmniboxImpl(mojo::Shell* shell,
root_(nullptr),
edit_(nullptr),
binding_(this, std::move(request)) {
- connection->ConnectToService(&view_embedder_);
+ connection->GetInterface(&view_embedder_);
}
OmniboxImpl::~OmniboxImpl() {}
« no previous file with comments | « mandoline/ui/desktop_ui/browser_window.cc ('k') | mandoline/ui/phone_ui/phone_browser_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698