Index: services/shell/public/cpp/interface_registry.h |
diff --git a/services/shell/public/cpp/interface_registry.h b/services/shell/public/cpp/interface_registry.h |
index 844f142e589cee9d956b64e60678768203adf01c..6ac149bf197e08f26e7ab7e5596f6bf0985bf340 100644 |
--- a/services/shell/public/cpp/interface_registry.h |
+++ b/services/shell/public/cpp/interface_registry.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
#include <queue> |
+#include <set> |
#include <utility> |
#include "base/callback.h" |
@@ -123,6 +124,9 @@ class InterfaceRegistry : public mojom::InterfaceProvider { |
// Resumes incoming interface request binding. |
void ResumeBinding(); |
+ // Populates a set with the interface names this registry can bind. |
+ void GetInterfaceNames(std::set<std::string>* interface_names); |
+ |
private: |
using NameToInterfaceBinderMap = |
std::map<std::string, std::unique_ptr<InterfaceBinder>>; |