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"; |
| 8 |
7 [Client=AppChildControllerClient] | 9 [Client=AppChildControllerClient] |
8 interface AppChildController { | 10 interface AppChildController { |
9 // TODO(vtl): |service| should be of a more specific type. | 11 StartApp(string app_path, mojo.Application& application_request); |
10 StartApp(string app_path, handle<message_pipe> service); | |
11 }; | 12 }; |
12 | 13 |
13 interface AppChildControllerClient { | 14 interface AppChildControllerClient { |
14 AppCompleted(int32 result); | 15 AppCompleted(int32 result); |
15 }; | 16 }; |
OLD | NEW |