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

Unified Diff: services/service_manager/public/cpp/service_context.h

Issue 2610853013: Perform InterfaceProviderSpec intersection in the ServiceManager (Closed)
Patch Set: . Created 3 years, 11 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/service_manager/public/cpp/service_context.h
diff --git a/services/service_manager/public/cpp/service_context.h b/services/service_manager/public/cpp/service_context.h
index 20e11e2c4adef8973c4fece0ba4026add184dd47..7f3a1528c2a09aa06a1f191dcc09704f85092a30 100644
--- a/services/service_manager/public/cpp/service_context.h
+++ b/services/service_manager/public/cpp/service_context.h
@@ -112,6 +112,16 @@ class ServiceContext : public mojom::Service {
void OnConnect(const ServiceInfo& source_info,
mojom::InterfaceProviderRequest interfaces,
const OnConnectCallback& callback) override;
+ void OnBindInterface(
+ const ServiceInfo& source_info,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe,
+ const OnBindInterfaceCallback& callback) override;
+
+ void CallOnConnect(const ServiceInfo& source_info,
+ const InterfaceProviderSpec& source_spec,
+ const InterfaceProviderSpec& target_spec,
+ mojom::InterfaceProviderRequest request);
void OnConnectionError();
void OnRegistryConnectionError(InterfaceRegistry* registry);
« no previous file with comments | « services/service_manager/public/cpp/lib/service_context.cc ('k') | services/service_manager/public/interfaces/service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698