| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojo.shell.mojom; | 5 module mojo.shell.mojom; |
| 6 | 6 |
| 7 import "mojo/shell/public/interfaces/application.mojom"; | 7 import "mojo/shell/public/interfaces/shell_client.mojom"; |
| 8 | 8 |
| 9 interface ChildController { | 9 interface ChildController { |
| 10 // Starts the app. | 10 // Starts the app. |
| 11 StartApp(Application& application_request) => (int32 result); | 11 StartApp(ShellClient& request) => (int32 result); |
| 12 | 12 |
| 13 // Exits the child process now (with no cleanup), with the given exit code. | 13 // Exits the child process now (with no cleanup), with the given exit code. |
| 14 ExitNow(int32 exit_code); | 14 ExitNow(int32 exit_code); |
| 15 }; | 15 }; |
| OLD | NEW |