Index: mojo/shell/public/cpp/shell_connection.h |
diff --git a/mojo/shell/public/cpp/shell_connection.h b/mojo/shell/public/cpp/shell_connection.h |
index 3e00cd362c056cb2d1f69f123fb4a2294c43eb07..a05f6f136676a5ba022a190215be3b117c22fdc7 100644 |
--- a/mojo/shell/public/cpp/shell_connection.h |
+++ b/mojo/shell/public/cpp/shell_connection.h |
@@ -61,12 +61,7 @@ |
// TODO(rockot): Remove this once we get rid of app tests. |
void SetAppTestConnectorForTesting(shell::mojom::ConnectorPtr connector); |
- // Specify a function to be called when the connection to the shell is lost. |
- void set_connection_lost_closure(const base::Closure& closure) { |
- connection_lost_closure_ = closure; |
- } |
- |
-private: |
+ private: |
// shell::mojom::ShellClient: |
void Initialize(shell::mojom::IdentityPtr identity, |
uint32_t id, |
@@ -95,8 +90,6 @@ |
Binding<shell::mojom::ShellClient> binding_; |
scoped_ptr<Connector> connector_; |
- base::Closure connection_lost_closure_; |
- |
DISALLOW_COPY_AND_ASSIGN(ShellConnection); |
}; |