Declare new Chrome APIs
See
@@ -2323,6 +2323,62 @@ chrome.enterprise.reportingPrivate.uploadChromeDesktopReport = function(
*/
chrome.enterprise.reportingPrivate.getDeviceId = function(callback) {};
+/**
+ * Returns a random secret stored in a platform specific storage.
+ * @param {(function(!ArrayBuffer): void)=} callback Called with the result.
+ */
+chrome.enterprise.reportingPrivate.getPersistentSecret = function(callback) {};
+
+/**
+ * Returns byte string associated with the data item stored in a platform
+ * specific storage.
+ * @param {!string} item Item name (can have containers separated by '/').
+ * @param {(function(!ArrayBuffer): void)=} callback Called back with the
+ * response.
+ */
+chrome.enterprise.reportingPrivate.getDeviceData = function(item, callback) {};
+
+/**
+ * Stores byte string associated with the data item in a platform
+ * specific storage.
+ * @param {!string} item Item name (can have containers separated by '/').
+ * @param {!ArrayBuffer} data Byte string to associate with the data item.
+ * @param {(function(): void)=} callback Called back with the response.
+ */
+chrome.enterprise.reportingPrivate.setDeviceData = function(
+ item, data, callback) {};
+
+/**
+ * Represents a device info property type.
+ * @enum {string}
+ */
+chrome.enterprise.reportingPrivate.SettingValue = {
+ UNKNOWN: '',
+ DISABLED: '',
+ ENABLED: '',
+};
+
+/**
+ * Type of the object returned by getDeviceInfo.
+ * @typedef {?{
+ * osName: string,
+ * osVersion: string,
+ * deviceHostName: string,
+ * deviceModel: string,
+ * serialNumber: string,
+ * screenLockSecured: chrome.enterprise.reportingPrivate.SettingValue,
+ * diskEncrypted: chrome.enterprise.reportingPrivate.SettingValue,
+ * }}
+ */
+chrome.enterprise.reportingPrivate.DeviceInfo;
+
+/**
+ * Returns the device information object.
+ * @param {(function(!chrome.enterprise.reportingPrivate.DeviceInfo): void)=}
+ * callback Called back with the response.
+ */
+chrome.enterprise.reportingPrivate.getDeviceInfo = function(callback) {};
+
/**
* @see https://developer.chrome.com/extensions/extension.html
* @const
