| 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..919a81bd9b0aa549edc6fc839b772796889fc586 100644
|
| --- a/mojo/shell/runner/child/runner_connection.h
|
| +++ b/mojo/shell/runner/child/runner_connection.h
|
| @@ -23,9 +23,17 @@ class RunnerConnection {
|
| // |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 this flag when it's safe for all clients to be
|
| + // terminated on such errors. For now, e.g., we don't want this killing
|
| + // content child processes.
|
| static RunnerConnection* ConnectToRunner(
|
| InterfaceRequest<mojom::ShellClient>* request,
|
| - ScopedMessagePipeHandle handle);
|
| + ScopedMessagePipeHandle handle,
|
| + bool exit_on_error = true);
|
|
|
| protected:
|
| RunnerConnection();
|
|
|