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

Side by Side Diff: mojo/shell/public/interfaces/shell_client.mojom

Issue 1776813002: CapabilitySpec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@42cpi
Patch Set: . Created 4 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/shell/public/interfaces/connector.mojom"; 8 import "mojo/shell/public/interfaces/connector.mojom";
8 import "mojo/shell/public/interfaces/interface_provider.mojom"; 9 import "mojo/shell/public/interfaces/interface_provider.mojom";
9 10
10 // Implemented by something "known to" the Mojo Shell (e.g. an application or 11 // Implemented by something "known to" the Mojo Shell (e.g. an application or
11 // service), for which an instance is tracked. It allows the implementor to 12 // service), for which an instance is tracked. It allows the implementor to
12 // receive lifecycle events and service inbound connection attempts. 13 // receive lifecycle events and service inbound connection attempts.
13 interface ShellClient { 14 interface ShellClient {
14 // Called by the shell once an instance for this application has been created. 15 // Called by the shell once an instance for this application has been created.
15 // This method will be called exactly once before any other method is called. 16 // This method will be called exactly once before any other method is called.
16 // 17 //
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // manifests. Attempts to bind interfaces not in this whitelist must not be 63 // manifests. Attempts to bind interfaces not in this whitelist must not be
63 // fulfilled. 64 // fulfilled.
64 // 65 //
65 // resolved_name 66 // resolved_name
66 // The resolved name used to complete this connection. 67 // The resolved name used to complete this connection.
67 // 68 //
68 AcceptConnection(Identity source, 69 AcceptConnection(Identity source,
69 uint32 source_id, 70 uint32 source_id,
70 InterfaceProvider&? local_interfaces, 71 InterfaceProvider&? local_interfaces,
71 InterfaceProvider? remote_interfaces, 72 InterfaceProvider? remote_interfaces,
72 array<string> allowed_interfaces, 73 CapabilitySpec allowed_capabilities,
73 string resolved_name); 74 string resolved_name);
74 }; 75 };
OLDNEW
« no previous file with comments | « mojo/shell/public/interfaces/shell.mojom ('k') | mojo/shell/public/interfaces/shell_resolver.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698