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

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

Issue 1143303004: Add IDL and stub implementation for chrome.usersPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Use the <code>chrome.usersPrivate</code> API to manage users.
6 namespace usersPrivate {
7
8 interface Functions {
9 // Gets a list of the canonicalized emails of the currently whitelisted
10 // users.
11 static void getWhitelistedUsers(DOMString[] emails);
Dan Beam 2015/05/23 00:51:14 why not make this onWhiteListedUsersChanged and fi
Oren Blasberg 2015/05/26 17:04:07 Implementing that looks pretty challenging if we w
Dan Beam 2015/05/28 20:09:30 Yeah, this seems fine as long as you're cool with
Oren Blasberg 2015/05/29 23:48:07 Yep, I'm cool with that. In fact I'm currently add
12
13 // Adds a new user with the given email to the whitelist.
14 static void addWhitelistedUser(DOMString email);
15
16 // Removes the user with the given email from the whitelist.
17 static void removeWhitelistedUser(DOMString email);
18
19 // Whether the current user is the owner of the device.
20 static void isCurrentUserOwner(boolean isOwner);
21
22 // Whether the whitelist is managed by enterprise.
23 static void isWhitelistManaged(boolean managed);
24 };
25 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698