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

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

Issue 2209943002: Eliminate outgoing InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tracing
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « services/shell/public/interfaces/connector.mojom ('k') | services/shell/service_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 shell.mojom; 5 module shell.mojom;
6 6
7 import "services/shell/public/interfaces/capabilities.mojom"; 7 import "services/shell/public/interfaces/capabilities.mojom";
8 import "services/shell/public/interfaces/connector.mojom"; 8 import "services/shell/public/interfaces/connector.mojom";
9 import "services/shell/public/interfaces/interface_provider.mojom"; 9 import "services/shell/public/interfaces/interface_provider.mojom";
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // "target". 45 // "target".
46 // 46 //
47 // Parameters: 47 // Parameters:
48 // 48 //
49 // source 49 // source
50 // The identity of the instance originating the connection. 50 // The identity of the instance originating the connection.
51 // 51 //
52 // source_id 52 // source_id
53 // A unique identifier used by the shell to identify the source instance. 53 // A unique identifier used by the shell to identify the source instance.
54 // 54 //
55 // local_interfaces 55 // interfaces
56 // A request for an InterfaceProvider by which the source application may 56 // A request for an InterfaceProvider by which the source application may
57 // seek to bind interface implementations exported by the target. 57 // seek to bind interface implementations exported by the target.
58 // 58 //
59 // remote_interfaces 59 // allowed_capabilities
60 // An InterfaceProvider by which the target application may bind interface 60 // A whitelist of interface names and capability classes that should be
61 // implementations exported by the source. 61 // made available to the source, according to the security policy described
62 // 62 // by the source and target's manifests. Attempts to bind interfaces not in
63 // allowed_interfaces 63 // this whitelist must not be fulfilled.
64 // A whitelist of interface names that should be exported to the source,
65 // according to the security policy described by the source and target's
66 // manifests. Attempts to bind interfaces not in this whitelist must not be
67 // fulfilled.
68 // 64 //
69 // resolved_name 65 // resolved_name
70 // The resolved name used to complete this connection. 66 // The resolved name used to complete this connection.
71 // 67 //
72 OnConnect(Identity source, 68 OnConnect(Identity source,
73 uint32 source_id, 69 uint32 source_id,
74 InterfaceProvider&? local_interfaces, 70 InterfaceProvider&? interfaces,
75 InterfaceProvider? remote_interfaces,
76 CapabilityRequest allowed_capabilities, 71 CapabilityRequest allowed_capabilities,
77 string resolved_name); 72 string resolved_name);
78 }; 73 };
OLDNEW
« no previous file with comments | « services/shell/public/interfaces/connector.mojom ('k') | services/shell/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698