OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 shell.mojom; | 5 module shell.mojom; |
6 | 6 |
7 // Capabilities ---------------------------------------------------------------- | 7 // Capabilities ---------------------------------------------------------------- |
8 // | 8 // |
9 // Services expose interfaces and capability classes to one another. | 9 // Services expose interfaces and capability classes to one another. |
10 // | 10 // |
(...skipping 27 matching lines...) Expand all Loading... |
38 // A map of class name -> array of interfaces. The array can be empty, | 38 // A map of class name -> array of interfaces. The array can be empty, |
39 // non-empty, or ["*"], which means allow access to all interfaces. | 39 // non-empty, or ["*"], which means allow access to all interfaces. |
40 map<string, Interfaces> provided; | 40 map<string, Interfaces> provided; |
41 | 41 |
42 // The services this service needs to speak to, and the classes it requires. | 42 // The services this service needs to speak to, and the classes it requires. |
43 // A map of service name -> collection of required classes. "*" is also | 43 // A map of service name -> collection of required classes. "*" is also |
44 // supported as the key, which supplies a set of classes required from all | 44 // supported as the key, which supplies a set of classes required from all |
45 // services in addition to specific ones specified. | 45 // services in addition to specific ones specified. |
46 map<string, Classes> required; | 46 map<string, Classes> required; |
47 }; | 47 }; |
OLD | NEW |