Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: services/service_manager/public/interfaces/interface_provider_spec.mojom

Issue 2425563004: Support reading multiple InterfaceProviderSpecs from manifests (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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";
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/typemaps.gni ('k') | services/service_manager/public/interfaces/resolver.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698