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

Unified Diff: mojo/services/test_service/test_service_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: mojo/services/test_service/test_service_application.cc
diff --git a/mojo/services/test_service/test_service_application.cc b/mojo/services/test_service/test_service_application.cc
index 940ce60c81d07ccb1e0c6cd0570a7b5c9bdfaf78..02e442151081f1e0813264fece7063ae8457f854 100644
--- a/mojo/services/test_service/test_service_application.cc
+++ b/mojo/services/test_service/test_service_application.cc
@@ -29,8 +29,8 @@ void TestServiceApplication::Initialize(Shell* shell, const std::string& url,
}
bool TestServiceApplication::AcceptConnection(Connection* connection) {
- connection->AddService<TestService>(this);
- connection->AddService<TestTimeService>(this);
+ connection->AddInterface<TestService>(this);
+ connection->AddInterface<TestTimeService>(this);
return true;
}
« no previous file with comments | « mojo/services/test_service/test_request_tracker_application.cc ('k') | mojo/services/tracing/public/cpp/tracing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698