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

Unified Diff: mojo/shell/runner/child/native_apptest_target.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 | « mojo/shell/public/cpp/shell.h ('k') | mojo/shell/shell_application_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/child/native_apptest_target.cc
diff --git a/mojo/shell/runner/child/native_apptest_target.cc b/mojo/shell/runner/child/native_apptest_target.cc
index ff8a8fb4add5bcc7771beffa012bd4bdf0f82118..86043d1ca82203f92f5e705d4952c4d5aaa0b119 100644
--- a/mojo/shell/runner/child/native_apptest_target.cc
+++ b/mojo/shell/runner/child/native_apptest_target.cc
@@ -31,7 +31,7 @@ class TargetApplicationDelegate
void Initialize(mojo::Shell* shell, const std::string& url,
uint32_t id) override {}
bool AcceptConnection(mojo::Connection* connection) override {
- connection->AddService<mojo::shell::test::TestNativeService>(this);
+ connection->AddInterface<mojo::shell::test::TestNativeService>(this);
return true;
}
« no previous file with comments | « mojo/shell/public/cpp/shell.h ('k') | mojo/shell/shell_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698