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

Side by Side Diff: services/shell/public/interfaces/resolver.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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module shell.mojom;
6
7 import "mojo/common/common_custom_types.mojom";
8 import "services/shell/public/interfaces/capabilities.mojom";
9
10 // The result of a Resolve operation via Resolver.
11 struct ResolveResult {
12 // The mojo: name that was requested to be resolved.
13 string name;
14
15 // The mojo: name of the physical package supplying the requested name. This
16 // could be the same name that was passed, or the name of a package that
17 // contains it.
18 string resolved_name;
19
20 // An additional piece of metadata that identifies what instance |name| should
21 // be run in. It's possible that |name| may provide several services that
22 // should be run as different instances.
23 string qualifier;
24
25 // The set of capabilities provided and required by |name|.
26 CapabilitySpec? capabilities;
27
28 // A path to the package file specified by |name|.
29 mojo.common.mojom.FilePath package_path;
30 };
31
32 // Implemented exclusively for the Service Manager's use in resolving mojo:
33 // names and reading static manifest information.
34 interface Resolver {
35 // Resolves |mojo_name| and returns a ResolveResult containing metadata from
36 // the catalog that the Service Manager uses to run an instance of it.
37 ResolveMojoName(string mojo_name) => (ResolveResult result);
38 };
OLDNEW
« no previous file with comments | « services/shell/public/interfaces/interface_provider.mojom ('k') | services/shell/public/interfaces/service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698