Index: content/public/common/mojo_shell_connection.h |
diff --git a/content/public/common/mojo_shell_connection.h b/content/public/common/mojo_shell_connection.h |
index 7077dcea79e27dbfc9707573e172efc4566b8e1b..6ae92bbe45fa5d600e6d2c46db608d1b0a2d588f 100644 |
--- a/content/public/common/mojo_shell_connection.h |
+++ b/content/public/common/mojo_shell_connection.h |
@@ -59,6 +59,9 @@ class CONTENT_EXPORT MojoShellConnection { |
// a shell embedded in the browser process (false). |
virtual bool UsingExternalShell() const = 0; |
+ // Sets a closure that is called when the connection is lost. |
+ virtual void SetConnectionLostClosure(const base::Closure& closure) = 0; |
+ |
// [De]Register an impl of Listener that will be consulted when the wrapped |
// ShellConnection exposes services to inbound connections. |
// Registered listeners are owned by this MojoShellConnection. |