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

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

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/connector.mojom"; 7 import "mojo/shell/public/interfaces/connector.mojom";
8 import "mojo/shell/public/interfaces/shell_client_factory.mojom"; 8 import "mojo/shell/public/interfaces/shell_client_factory.mojom";
9 9
10 struct InstanceInfo { 10 struct InstanceInfo {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 }; 59 };
60 60
61 interface Shell { 61 interface Shell {
62 // Instructs the Shell to create an instance for an existing process at the 62 // Instructs the Shell to create an instance for an existing process at the
63 // other end of |factory|, and perform applicable initialization. |user_id| is 63 // other end of |factory|, and perform applicable initialization. |user_id| is
64 // the user the instance should be created as. This is typically set to 64 // the user the instance should be created as. This is typically set to
65 // Connector::kUserInherit, unless the application has the ability to connect 65 // Connector::kUserInherit, unless the application has the ability to connect
66 // as other users. 66 // as other users.
67 CreateInstanceForFactory(ShellClientFactory factory, 67 CreateInstanceForFactory(ShellClientFactory factory,
68 string name, 68 string name,
69 uint32 user_id, 69 string user_id,
70 CapabilityFilter filter, 70 CapabilityFilter filter,
71 PIDReceiver& pid_receiver); 71 PIDReceiver& pid_receiver);
72 72
73 // The listener is removed when the |listener| pipe is closed. 73 // The listener is removed when the |listener| pipe is closed.
74 AddInstanceListener(InstanceListener listener); 74 AddInstanceListener(InstanceListener listener);
75 }; 75 };
OLDNEW
« no previous file with comments | « mojo/shell/public/interfaces/connector.mojom ('k') | mojo/shell/public/interfaces/shell_client.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698