| 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; | 5 module mojo.shell; |
| 6 | 6 |
| 7 import "mojo/public/interfaces/application/application.mojom"; | 7 import "mojo/public/interfaces/application/application.mojom"; |
| 8 | 8 |
| 9 interface AppChildController { | 9 interface AppChildController { |
| 10 // Starts the app at the given path (deleting it if |clean_app_path| is true). |
| 10 StartApp(string app_path, | 11 StartApp(string app_path, |
| 11 bool clean_app_path, | 12 bool clean_app_path, |
| 12 mojo.Application& application_request) => (int32 result); | 13 mojo.Application& application_request) => (int32 result); |
| 14 |
| 15 // Exits the child process now (with no cleanup), with the given exit code. |
| 16 ExitNow(int32 exit_code); |
| 13 }; | 17 }; |
| OLD | NEW |