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 shell.mojom; | 5 module shell.mojom; |
6 | 6 |
7 import "services/shell/public/interfaces/interface_provider.mojom"; | 7 import "services/service_manager/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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // the shell into a valid user id returned through this callback. | 125 // the shell into a valid user id returned through this callback. |
126 // | 126 // |
127 Connect(Identity target, | 127 Connect(Identity target, |
128 InterfaceProvider&? remote_interfaces, | 128 InterfaceProvider&? remote_interfaces, |
129 ClientProcessConnection? client_process_connection) => | 129 ClientProcessConnection? client_process_connection) => |
130 (ConnectResult result, string user_id); | 130 (ConnectResult result, string user_id); |
131 | 131 |
132 // Clones this Connector so it can be passed to another thread. | 132 // Clones this Connector so it can be passed to another thread. |
133 Clone(Connector& request); | 133 Clone(Connector& request); |
134 }; | 134 }; |
OLD | NEW |