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 d5d90a8affe712ec4ed9156dc13bf586898a16e4..690f05472205857ef89ec9e571b8bb7075c374a1 100644 |
--- a/services/shell/public/cpp/lib/interface_registry.cc |
+++ b/services/shell/public/cpp/lib/interface_registry.cc |
@@ -61,6 +61,11 @@ void InterfaceRegistry::GetInterfaceNames( |
interface_names->insert(entry.first); |
} |
+void InterfaceRegistry::SetConnectionLostClosure( |
+ const base::Closure& connection_lost_closure) { |
+ binding_.set_connection_error_handler(connection_lost_closure); |
+} |
+ |
// mojom::InterfaceProvider: |
void InterfaceRegistry::GetInterface(const mojo::String& interface_name, |
mojo::ScopedMessagePipeHandle handle) { |