Index: content/common/mojo/mojo_shell_connection_impl.cc |
diff --git a/content/common/mojo/mojo_shell_connection_impl.cc b/content/common/mojo/mojo_shell_connection_impl.cc |
index 42cfada675d59ca0f06dc9369c907b23e6bba5f6..3f3a6935fb680220ef418081fda2e636cd84bef9 100644 |
--- a/content/common/mojo/mojo_shell_connection_impl.cc |
+++ b/content/common/mojo/mojo_shell_connection_impl.cc |
@@ -135,6 +135,11 @@ bool MojoShellConnectionImpl::UsingExternalShell() const { |
return external_; |
} |
+void MojoShellConnectionImpl::SetConnectionLostClosure( |
+ const base::Closure& closure) { |
+ shell_connection_->set_connection_lost_closure(closure); |
+} |
+ |
void MojoShellConnectionImpl::AddListener(Listener* listener) { |
DCHECK(std::find(listeners_.begin(), listeners_.end(), listener) == |
listeners_.end()); |