| Index: mojo/shell/public/cpp/shell_client.h
|
| diff --git a/mojo/shell/public/cpp/shell_client.h b/mojo/shell/public/cpp/shell_client.h
|
| index 2eb9079efe2ab7dd0c43234e18cf022c5e51d8f5..36b93874ed492e54707ffcaf50174ef13ce7cc61 100644
|
| --- a/mojo/shell/public/cpp/shell_client.h
|
| +++ b/mojo/shell/public/cpp/shell_client.h
|
| @@ -42,11 +42,10 @@ class ShellClient {
|
| // underlying pipe closed. The default implementation returns false.
|
| virtual bool AcceptConnection(Connection* connection);
|
|
|
| - // Called when ShellConnection's pipe to the Mojo Shell is closed.
|
| - //
|
| - // Returning true from this method will cause ...
|
| - // The default implementation returns true.
|
| - virtual bool ShellConnectionLost();
|
| + // Called when ShellConnection's ShellClient binding (i.e. the pipe the
|
| + // Mojo Shell has to talk to us over) is closed. A shell client may use this
|
| + // as a signal to terminate.
|
| + virtual void ShellConnectionLost();
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ShellClient);
|
|
|