| Index: services/shell/public/cpp/lib/interface_registry.cc
|
| diff --git a/services/shell/public/cpp/lib/interface_registry.cc b/services/shell/public/cpp/lib/interface_registry.cc
|
| index cb00cc9c739da738ff235926b6b7818c6965faf2..d5d90a8affe712ec4ed9156dc13bf586898a16e4 100644
|
| --- a/services/shell/public/cpp/lib/interface_registry.cc
|
| +++ b/services/shell/public/cpp/lib/interface_registry.cc
|
| @@ -54,6 +54,13 @@ void InterfaceRegistry::ResumeBinding() {
|
| }
|
| }
|
|
|
| +void InterfaceRegistry::GetInterfaceNames(
|
| + std::set<std::string>* interface_names) {
|
| + DCHECK(interface_names);
|
| + for (auto& entry : name_to_binder_)
|
| + interface_names->insert(entry.first);
|
| +}
|
| +
|
| // mojom::InterfaceProvider:
|
| void InterfaceRegistry::GetInterface(const mojo::String& interface_name,
|
| mojo::ScopedMessagePipeHandle handle) {
|
|
|