OLD | NEW |
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/interface_provider.mojom"; | 7 import "services/shell/public/interfaces/interface_provider.mojom"; |
8 | 8 |
9 const string kRootUserID = "505C0EE9-3013-43C0-82B0-A84F50CF8D84"; | 9 const string kRootUserID = "505C0EE9-3013-43C0-82B0-A84F50CF8D84"; |
10 const string kInheritUserID = "D26290E4-4485-4EAE-81A2-66D1EEB40A9D"; | 10 const string kInheritUserID = "D26290E4-4485-4EAE-81A2-66D1EEB40A9D"; |
11 | 11 |
12 const uint32 kInvalidInstanceID = 0; | 12 const uint32 kInvalidInstanceID = 0; |
13 | 13 |
14 enum ConnectResult { | 14 enum ConnectResult { |
15 // The connection was established successfully. | 15 // The connection was established successfully. |
16 SUCCEEDED, | 16 SUCCEEDED, |
17 | 17 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // | 135 // |
136 Connect(Identity target, | 136 Connect(Identity target, |
137 InterfaceProvider&? remote_interfaces, | 137 InterfaceProvider&? remote_interfaces, |
138 InterfaceProvider? local_interfaces, | 138 InterfaceProvider? local_interfaces, |
139 ClientProcessConnection? client_process_connection) => | 139 ClientProcessConnection? client_process_connection) => |
140 (ConnectResult result, string user_id, uint32 application_id); | 140 (ConnectResult result, string user_id, uint32 application_id); |
141 | 141 |
142 // Clones this Connector so it can be passed to another thread. | 142 // Clones this Connector so it can be passed to another thread. |
143 Clone(Connector& request); | 143 Clone(Connector& request); |
144 }; | 144 }; |
OLD | NEW |