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

Side by Side Diff: chrome/common/extensions/api/users_private.idl

Issue 2888183002: Settings: Users: Provide correct email in API (Closed)
Patch Set: Created 3 years, 7 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 // Use the <code>chrome.usersPrivate</code> API to manage users. 5 // Use the <code>chrome.usersPrivate</code> API to manage users.
6 [platforms=("chromeos"), 6 [platforms=("chromeos"),
7 implemented_in="chrome/browser/chromeos/extensions/users_private/users_private_ api.h"] 7 implemented_in="chrome/browser/chromeos/extensions/users_private/users_private_ api.h"]
8 namespace usersPrivate { 8 namespace usersPrivate {
9 9
10 dictionary User { 10 dictionary User {
11 // Email for the user. 11 // Email for the user.
12 DOMString email; 12 DOMString email;
13 13
14 // Display email for the user.
tommycli 2017/05/17 15:56:12 nit: Maybe "Displayed email" so it's not confused
stevenjb 2017/05/17 16:05:34 Hmm, I feel like "display name" (and equivalent "d
Devlin 2017/05/17 16:16:14 If we *really* wanted to bikeshed this, "emailForD
15 DOMString displayEmail;
16
14 // Display name for the user. 17 // Display name for the user.
15 DOMString name; 18 DOMString name;
16 19
17 // Whether this user is the device owner. 20 // Whether this user is the device owner.
18 boolean isOwner; 21 boolean isOwner;
19 22
20 // Whether this user is supervised. 23 // Whether this user is supervised.
21 boolean isSupervised; 24 boolean isSupervised;
22 }; 25 };
23 26
(...skipping 19 matching lines...) Expand all
43 // the current user isn't the owner). 46 // the current user isn't the owner).
44 static void removeWhitelistedUser(DOMString email, UserRemovedCallback callb ack); 47 static void removeWhitelistedUser(DOMString email, UserRemovedCallback callb ack);
45 48
46 // Whether the current user is the owner of the device. 49 // Whether the current user is the owner of the device.
47 static void isCurrentUserOwner(IsOwnerCallback callback); 50 static void isCurrentUserOwner(IsOwnerCallback callback);
48 51
49 // Whether the whitelist is managed by enterprise. 52 // Whether the whitelist is managed by enterprise.
50 static void isWhitelistManaged(ManagedCallback callback); 53 static void isWhitelistManaged(ManagedCallback callback);
51 }; 54 };
52 }; 55 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/user_list.js ('k') | third_party/closure_compiler/externs/users_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698