| Index: mojo/shell/runner/child/runner_connection.h
|
| diff --git a/mojo/shell/runner/child/runner_connection.h b/mojo/shell/runner/child/runner_connection.h
|
| index 488b9968623dd2eafc9dff80d0135d48e5ab7188..e49f73e60e8d4d07041f2970c40f87fffe9703b7 100644
|
| --- a/mojo/shell/runner/child/runner_connection.h
|
| +++ b/mojo/shell/runner/child/runner_connection.h
|
| @@ -21,11 +21,20 @@ class RunnerConnection {
|
| // Establish a connection to the runner, blocking the calling thread until
|
| // it is established. The Application request from the runner is returned via
|
| // |request|.
|
| + //
|
| // If a connection to the runner cannot be established, |request| will not be
|
| // modified and this function will return null.
|
| + //
|
| + // If |exit_on_error| is true, the calling process will be terminated in the
|
| + // event of an error on |handle|.
|
| + //
|
| + // TODO(rockot): Remove |exit_on_error| when it's safe for all clients to be
|
| + // terminated on such errors. For now we don't want this killing content's
|
| + // child processes.
|
| static RunnerConnection* ConnectToRunner(
|
| InterfaceRequest<mojom::ShellClient>* request,
|
| - ScopedMessagePipeHandle handle);
|
| + ScopedMessagePipeHandle handle,
|
| + bool exit_on_error = true);
|
|
|
| protected:
|
| RunnerConnection();
|
|
|