Private API for reporting Chrome browser status to admin console.
Private API for reporting Chrome browser status to admin console. * available since Chrome 68
(get-device-data id)
Gets the device data for |id|. Sets runtime.lastError on failure.
|id| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [data] where:
|data| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Gets the device data for |id|. Sets runtime.lastError on failure. |id| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [data] where: |data| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-device-id)
Gets the identity of device that Chrome browser is running on. The ID is retrieved from the local device and used by the Google admin console.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [id] where:
|id| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Gets the identity of device that Chrome browser is running on. The ID is retrieved from the local device and used by the Google admin console. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [id] where: |id| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-device-info)
Gets the device information (including disk encryption status, screen lock status, serial number, model).
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [device-info] where:
|device-info| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Gets the device information (including disk encryption status, screen lock status, serial number, model). This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [device-info] where: |device-info| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-persistent-secret)
Gets a randomly generated persistent secret (symmetric key) that can be used to encrypt the data stored with |setDeviceData|.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [secret] where:
|secret| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Gets a randomly generated persistent secret (symmetric key) that can be used to encrypt the data stored with |setDeviceData|. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [secret] where: |secret| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(set-device-data id)
(set-device-data id data)
Sets the device data for |id|. Sets runtime.lastError on failure. If the |data| parameter is undefined and there is already data associated with |id| it will be cleared.
|id| - ? |data| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Sets the device data for |id|. Sets runtime.lastError on failure. If the |data| parameter is undefined and there is already data associated with |id| it will be cleared. |id| - ? |data| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.enterprise.reporting-private namespace.
Taps all valid non-deprecated events in chromex.ext.enterprise.reporting-private namespace.
(upload-chrome-desktop-report report)
Uploads the status of Chrome browser to the admin console by sending request to the DMServer. Sets runtime.lastError on failure.
|report| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Uploads the status of Chrome browser to the admin console by sending request to the DMServer. Sets runtime.lastError on failure. |report| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close