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 6ac149bf197e08f26e7ab7e5596f6bf0985bf340..ab62a8c154c1e405bc6f99881c42789859bad26f 100644 |
--- a/services/shell/public/cpp/interface_registry.h |
+++ b/services/shell/public/cpp/interface_registry.h |
@@ -127,6 +127,9 @@ class InterfaceRegistry : public mojom::InterfaceProvider { |
// Populates a set with the interface names this registry can bind. |
void GetInterfaceNames(std::set<std::string>* interface_names); |
+ // Sets a closure to be run when the InterfaceProvider pipe is closed. |
+ void SetConnectionLostClosure(const base::Closure& connection_lost_closure); |
+ |
private: |
using NameToInterfaceBinderMap = |
std::map<std::string, std::unique_ptr<InterfaceBinder>>; |