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 service_manager.mojom; | 5 module service_manager.mojom; |
6 | 6 |
7 // Defines a set of Mojo interfaces. The string value is the fully qualified | 7 // Defines a set of Mojo interfaces. The string value is the fully qualified |
8 // name of the interface in the form "module::path::InterfaceName". We don't | 8 // name of the interface in the form "module::path::InterfaceName". We don't |
9 // represent this as a bare array in-situ in mojom because we rely on type maps | 9 // represent this as a bare array in-situ in mojom because we rely on type maps |
10 // to generate a set container in C++ which is unavailable for a bare array. | 10 // to generate a set container in C++ which is unavailable for a bare array. |
(...skipping 19 matching lines...) Expand all Loading... |
30 // non-empty, or ["*"], which means allow access to all interfaces. | 30 // non-empty, or ["*"], which means allow access to all interfaces. |
31 map<string, InterfaceSet> provides; | 31 map<string, InterfaceSet> provides; |
32 | 32 |
33 // The services this service needs to speak to, and the capabilities it | 33 // The services this service needs to speak to, and the capabilities it |
34 // requires from each. | 34 // requires from each. |
35 // A map of service name -> collection of required capabilities. "*" is also | 35 // A map of service name -> collection of required capabilities. "*" is also |
36 // supported as the key, which supplies a set of capabilities required from | 36 // supported as the key, which supplies a set of capabilities required from |
37 // all services in addition to specific ones specified. | 37 // all services in addition to specific ones specified. |
38 map<string, CapabilitySet> requires; | 38 map<string, CapabilitySet> requires; |
39 }; | 39 }; |
| 40 |
| 41 // The name of the InterfaceProviderSpec in service manifests used by the |
| 42 // Service Manager to control capabilities & interfaces exposed between |
| 43 // services via Connector. |
| 44 const string kServiceManager_ConnectorSpec = "service_manager:connector"; |
OLD | NEW |