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

Unified Diff: services/shell/public/interfaces/capabilities.mojom

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/shell/public/interfaces/OWNERS ('k') | services/shell/public/interfaces/connector.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/interfaces/capabilities.mojom
diff --git a/services/shell/public/interfaces/capabilities.mojom b/services/shell/public/interfaces/capabilities.mojom
deleted file mode 100644
index 2c155fba77c2d201ece4fe4547ac865b6a48fcbd..0000000000000000000000000000000000000000
--- a/services/shell/public/interfaces/capabilities.mojom
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module shell.mojom;
-
-// Capabilities ----------------------------------------------------------------
-//
-// Services expose interfaces and capability classes to one another.
-//
-// In a CapabilitySpec, an interface is represented by its fully qualified name,
-// which is serialized based on the interface name and module path:
-// module::InterfaceName.
-//
-// A class is an alias to something, either a set of interface names granted
-// with that class, or some behavior specific to the application that provides
-// it.
-
-// Defines a collection of interfaces. We don't represent this as a bare array
-// in-situ in mojom because we rely on type maps to generate a set container in
-// C++ which is unavailable for a bare array.
-struct Interfaces {
- array<string> interfaces;
-};
-
-// Defines a collection of classes. See note above about not just using a bare
-// array.
-struct Classes {
- array<string> classes;
-};
-
-// Describes the capabilities offered and requested by an service.
-// This struct is populated from the service manifest.
-struct CapabilitySpec {
- // The classes offered by this service, and for each class an array of
- // interfaces. If no interfaces are granted with a class, the array will be
- // empty.
- // A map of class name -> array of interfaces. The array can be empty,
- // non-empty, or ["*"], which means allow access to all interfaces.
- map<string, Interfaces> provided;
-
- // The services this service needs to speak to, and the classes it requires.
- // A map of service name -> collection of required classes. "*" is also
- // supported as the key, which supplies a set of classes required from all
- // services in addition to specific ones specified.
- map<string, Classes> required;
-};
« no previous file with comments | « services/shell/public/interfaces/OWNERS ('k') | services/shell/public/interfaces/connector.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698