OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file was generated by: | 5 // This file was generated by: |
6 // tools/json_schema_compiler/compiler.py. | 6 // ./tools/json_schema_compiler/compiler.py. |
7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
8 // 'chrome.usersPrivate.FooType'. | 8 // 'chrome.usersPrivate.FooType'. |
9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
11 | 11 |
12 /** @fileoverview Externs generated from namespace: usersPrivate */ | 12 /** @fileoverview Externs generated from namespace: usersPrivate */ |
13 | 13 |
14 /** | 14 /** |
15 * @const | 15 * @const |
16 */ | 16 */ |
17 chrome.usersPrivate = {}; | 17 chrome.usersPrivate = {}; |
18 | 18 |
19 /** | 19 /** |
20 * @typedef {{ | 20 * @typedef {{ |
21 * email: string, | 21 * email: string, |
22 * name: string, | 22 * name: string, |
23 * isOwner: boolean | 23 * isOwner: boolean, |
| 24 * isSupervised: boolean |
24 * }} | 25 * }} |
25 * @see https://developer.chrome.com/extensions/usersPrivate#type-User | 26 * @see https://developer.chrome.com/extensions/usersPrivate#type-User |
26 */ | 27 */ |
27 chrome.usersPrivate.User; | 28 chrome.usersPrivate.User; |
28 | 29 |
29 /** | 30 /** |
30 * Gets a list of the currently whitelisted users. | 31 * Gets a list of the currently whitelisted users. |
31 * @param {function(!Array<!chrome.usersPrivate.User>):void} callback | 32 * @param {function(!Array<!chrome.usersPrivate.User>):void} callback |
32 * @see https://developer.chrome.com/extensions/usersPrivate#method-getWhitelist
edUsers | 33 * @see https://developer.chrome.com/extensions/usersPrivate#method-getWhitelist
edUsers |
33 */ | 34 */ |
(...skipping 26 matching lines...) Expand all Loading... |
60 * @see https://developer.chrome.com/extensions/usersPrivate#method-isCurrentUse
rOwner | 61 * @see https://developer.chrome.com/extensions/usersPrivate#method-isCurrentUse
rOwner |
61 */ | 62 */ |
62 chrome.usersPrivate.isCurrentUserOwner = function(callback) {}; | 63 chrome.usersPrivate.isCurrentUserOwner = function(callback) {}; |
63 | 64 |
64 /** | 65 /** |
65 * Whether the whitelist is managed by enterprise. | 66 * Whether the whitelist is managed by enterprise. |
66 * @param {function(boolean):void} callback | 67 * @param {function(boolean):void} callback |
67 * @see https://developer.chrome.com/extensions/usersPrivate#method-isWhitelistM
anaged | 68 * @see https://developer.chrome.com/extensions/usersPrivate#method-isWhitelistM
anaged |
68 */ | 69 */ |
69 chrome.usersPrivate.isWhitelistManaged = function(callback) {}; | 70 chrome.usersPrivate.isWhitelistManaged = function(callback) {}; |
OLD | NEW |