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

Side by Side Diff: services/shell/public/interfaces/shell_resolver.mojom

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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
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 mojo.shell.mojom; 5 module mojo.shell.mojom;
6 6
7 import "mojo/shell/public/interfaces/capabilities.mojom"; 7 import "services/shell/public/interfaces/capabilities.mojom";
8 8
9 // The result of a Resolve operation via ShellResolver. 9 // The result of a Resolve operation via ShellResolver.
10 struct ResolveResult { 10 struct ResolveResult {
11 // The mojo: name that was requested to be resolved. 11 // The mojo: name that was requested to be resolved.
12 string name; 12 string name;
13 13
14 // The mojo: name of the physical package supplying the requested name. This 14 // The mojo: name of the physical package supplying the requested name. This
15 // could be the same name that was passed, or the name of a package that 15 // could be the same name that was passed, or the name of a package that
16 // contains it. 16 // contains it.
17 string resolved_name; 17 string resolved_name;
(...skipping 11 matching lines...) Expand all
29 string package_url; 29 string package_url;
30 }; 30 };
31 31
32 // Implemented exclusively for the Mojo Shell's use in resolving mojo: names 32 // Implemented exclusively for the Mojo Shell's use in resolving mojo: names
33 // and reading static manifest information. 33 // and reading static manifest information.
34 interface ShellResolver { 34 interface ShellResolver {
35 // Resolves |mojo_name| and returns a ResolveResult containing metadata from 35 // Resolves |mojo_name| and returns a ResolveResult containing metadata from
36 // the catalog that the Shell uses to run an instance of it. 36 // the catalog that the Shell uses to run an instance of it.
37 ResolveMojoName(string mojo_name) => (ResolveResult result); 37 ResolveMojoName(string mojo_name) => (ResolveResult result);
38 }; 38 };
OLDNEW
« no previous file with comments | « services/shell/public/interfaces/shell_client_factory.mojom ('k') | services/shell/public/java/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698