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

Unified Diff: services/shell/public/cpp/lib/service.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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: services/shell/public/cpp/lib/service.cc
diff --git a/services/shell/public/cpp/lib/service.cc b/services/shell/public/cpp/lib/service.cc
index db9eb31d69ff879c190ec8e36be1ac01bfe12ef2..aa45468ff34ee19a7dcb81c780570bfc083b1ee3 100644
--- a/services/shell/public/cpp/lib/service.cc
+++ b/services/shell/public/cpp/lib/service.cc
@@ -13,20 +13,13 @@ Service::~Service() {}
void Service::OnStart(const Identity& identity) {}
-bool Service::OnConnect(Connection* connection) {
+bool Service::OnConnect(const Identity& remote_identity,
+ InterfaceRegistry* registry) {
return false;
}
bool Service::OnStop() { return true; }
-InterfaceProvider* Service::GetInterfaceProviderForConnection() {
- return nullptr;
-}
-
-InterfaceRegistry* Service::GetInterfaceRegistryForConnection() {
- return nullptr;
-}
-
Connector* Service::connector() {
return context_->connector();
}
« no previous file with comments | « services/shell/public/cpp/lib/interface_registry.cc ('k') | services/shell/public/cpp/lib/service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698