forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem_private.js
35 lines (29 loc) · 928 Bytes
/
system_private.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @fileoverview Externs generated from namespace: systemPrivate */
/**
* Information about the system update.
* @typedef {{
* state: string,
* downloadProgress: number
* }}
*/
var UpdateStatus;
/** @const */
chrome.systemPrivate = {};
/**
* Returns whether the incognito mode is enabled, disabled or forced
* @param {Function} callback Called with the result.
*/
chrome.systemPrivate.getIncognitoModeAvailability = function(callback) {};
/**
* Gets information about the system update.
* @param {Function} callback
*/
chrome.systemPrivate.getUpdateStatus = function(callback) {};
/**
* Gets Chrome's API key to use for requests to Google services.
* @param {Function} callback
*/
chrome.systemPrivate.getApiKey = function(callback) {};