| Index: services/service_manager/public/cpp/lib/interface_registry.cc
|
| diff --git a/services/service_manager/public/cpp/lib/interface_registry.cc b/services/service_manager/public/cpp/lib/interface_registry.cc
|
| index 6367f1b058338bdc9b8855c8f342379d90760784..ba2ea2f9dab270a0e6d9e9c36f0c647d030efb86 100644
|
| --- a/services/service_manager/public/cpp/lib/interface_registry.cc
|
| +++ b/services/service_manager/public/cpp/lib/interface_registry.cc
|
| @@ -183,6 +183,13 @@ void InterfaceRegistry::AddConnectionLostClosure(
|
| connection_lost_closures_.push_back(connection_lost_closure);
|
| }
|
|
|
| +void InterfaceRegistry::BindInterface(const std::string& name,
|
| + mojo::ScopedMessagePipeHandle handle) {
|
| + // NOTE: We don't expose GetInterface() publicly so as to avoid confusion
|
| + // with local and remote binding requests.
|
| + GetInterface(name, std::move(handle));
|
| +}
|
| +
|
| // mojom::InterfaceProvider:
|
| void InterfaceRegistry::GetInterface(const std::string& interface_name,
|
| mojo::ScopedMessagePipeHandle handle) {
|
|
|