OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 interface ApplicationManager { | 7 interface ApplicationManager { |
8 // Instructs the ApplicationManager to create an instance for an existing | 8 // Instructs the ApplicationManager to create an instance for an existing |
9 // process at the other end of |channel|, and perform applicable | 9 // process at the other end of |channel|, and perform applicable |
10 // initialization. This assumes the target process will bind the other end of | 10 // initialization. This assumes the target process will bind the other end of |
11 // channel to an implementation of ChildController and bind an Application | 11 // channel to an implementation of ChildController and bind an Application |
12 // request there. | 12 // request there. |
13 // TODO(beng): we should probably have an Identity mojom struct. | 13 // TODO(beng): we should probably have an Identity mojom struct. |
14 // TODO(beng): for this to be used in production, it's going to have to take | 14 // TODO(beng): for this to be used in production, it's going to have to take |
15 // a fully qualified Identity complete with CapabilityFilter, | 15 // a fully qualified Identity complete with CapabilityFilter, |
16 // otherwise child processes registered with the shell will be | 16 // otherwise child processes registered with the shell will be |
17 // able to request any application/service. | 17 // able to request any application/service. |
18 // http://crbug.com/555392 | 18 // http://crbug.com/555392 |
19 CreateInstanceForHandle(handle channel, string url, string qualifier); | 19 CreateInstanceForHandle(handle channel, string url); |
20 }; | 20 }; |
OLD | NEW |