| Index: services/service_manager/public/cpp/interface_registry.h
|
| diff --git a/services/service_manager/public/cpp/interface_registry.h b/services/service_manager/public/cpp/interface_registry.h
|
| index 5872478342f91bbbd09a4e500aa5a1b74f4bae99..e9851f93aa57f95309974f2ea46d9db834e7b929 100644
|
| --- a/services/service_manager/public/cpp/interface_registry.h
|
| +++ b/services/service_manager/public/cpp/interface_registry.h
|
| @@ -24,6 +24,16 @@ namespace service_manager {
|
| class Connection;
|
| class InterfaceBinder;
|
|
|
| +// Returns the set of capabilities required from the target.
|
| +CapabilitySet GetRequestedCapabilities(const InterfaceProviderSpec& source_spec,
|
| + const Identity& target);
|
| +
|
| +// Generates a single set of interfaces that is the union of all interfaces
|
| +// exposed by the target for the capabilities requested by the source.
|
| +InterfaceSet GetInterfacesToExpose(const InterfaceProviderSpec& source_spec,
|
| + const Identity& target,
|
| + const InterfaceProviderSpec& target_spec);
|
| +
|
| // An implementation of mojom::InterfaceProvider that allows the user to
|
| // register services to be exposed to another application.
|
| //
|
|
|