| 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 * displayEmail: string, |
| 22 * name: string, | 23 * name: string, |
| 23 * isOwner: boolean, | 24 * isOwner: boolean, |
| 24 * isSupervised: boolean | 25 * isSupervised: boolean |
| 25 * }} | 26 * }} |
| 26 * @see https://developer.chrome.com/extensions/usersPrivate#type-User | 27 * @see https://developer.chrome.com/extensions/usersPrivate#type-User |
| 27 */ | 28 */ |
| 28 chrome.usersPrivate.User; | 29 chrome.usersPrivate.User; |
| 29 | 30 |
| 30 /** | 31 /** |
| 31 * Gets a list of the currently whitelisted users. | 32 * Gets a list of the currently whitelisted users. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 61 * @see https://developer.chrome.com/extensions/usersPrivate#method-isCurrentUse
rOwner | 62 * @see https://developer.chrome.com/extensions/usersPrivate#method-isCurrentUse
rOwner |
| 62 */ | 63 */ |
| 63 chrome.usersPrivate.isCurrentUserOwner = function(callback) {}; | 64 chrome.usersPrivate.isCurrentUserOwner = function(callback) {}; |
| 64 | 65 |
| 65 /** | 66 /** |
| 66 * Whether the whitelist is managed by enterprise. | 67 * Whether the whitelist is managed by enterprise. |
| 67 * @param {function(boolean):void} callback | 68 * @param {function(boolean):void} callback |
| 68 * @see https://developer.chrome.com/extensions/usersPrivate#method-isWhitelistM
anaged | 69 * @see https://developer.chrome.com/extensions/usersPrivate#method-isWhitelistM
anaged |
| 69 */ | 70 */ |
| 70 chrome.usersPrivate.isWhitelistManaged = function(callback) {}; | 71 chrome.usersPrivate.isWhitelistManaged = function(callback) {}; |
| OLD | NEW |