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

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

Issue 1833053004: [Extensions] Convert APIs to use movable types [10] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 use_movable_types=true]
8 namespace usersPrivate { 9 namespace usersPrivate {
9 10
10 dictionary User { 11 dictionary User {
11 // Email for the user. 12 // Email for the user.
12 DOMString email; 13 DOMString email;
13 14
14 // Whether this user is the device owner. 15 // Whether this user is the device owner.
15 boolean isOwner; 16 boolean isOwner;
16 }; 17 };
17 18
(...skipping 19 matching lines...) Expand all
37 // the current user isn't the owner). 38 // the current user isn't the owner).
38 static void removeWhitelistedUser(DOMString email, UserRemovedCallback callb ack); 39 static void removeWhitelistedUser(DOMString email, UserRemovedCallback callb ack);
39 40
40 // Whether the current user is the owner of the device. 41 // Whether the current user is the owner of the device.
41 static void isCurrentUserOwner(IsOwnerCallback callback); 42 static void isCurrentUserOwner(IsOwnerCallback callback);
42 43
43 // Whether the whitelist is managed by enterprise. 44 // Whether the whitelist is managed by enterprise.
44 static void isWhitelistManaged(ManagedCallback callback); 45 static void isWhitelistManaged(ManagedCallback callback);
45 }; 46 };
46 }; 47 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/types_private.json ('k') | chrome/common/extensions/api/wallpaper.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698