chrome.systemPrivate = {};
* @enum {string}
*/
chrome.systemPrivate.UpdateStatusState = {
NOT_AVAILABLE: 'NotAvailable',
UPDATING: 'Updating',
NEED_RESTART: 'NeedRestart',
};
* @enum {string}
*/
chrome.systemPrivate.GetIncognitoModeAvailabilityValue = {
ENABLED: 'enabled',
DISABLED: 'disabled',
FORCED: 'forced',
};
* Information about the system update.
* @typedef {{
* state: !chrome.systemPrivate.UpdateStatusState,
* downloadProgress: number
* }}
*/
chrome.systemPrivate.UpdateStatus;
* Returns whether the incognito mode is enabled, disabled or forced
* @param {function(!chrome.systemPrivate.GetIncognitoModeAvailabilityValue): void}
* callback Called with the result.
*/
chrome.systemPrivate.getIncognitoModeAvailability = function(callback) {};
* Gets information about the system update.
* @param {function(!chrome.systemPrivate.UpdateStatus): void} callback
*/
chrome.systemPrivate.getUpdateStatus = function(callback) {};
* Gets Chrome's API key to use for requests to Google services.
* @param {function(string): void} callback
*/
chrome.systemPrivate.getApiKey = function(callback) {};