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