Use the chrome.feedbackPrivate API to provide Chrome [OS] feedback to the Google Feedback servers.
Use the chrome.feedbackPrivate API to provide Chrome [OS] feedback to the Google Feedback servers. * available since Chrome 36
(get-strings flow)
Gets localized translated strings for feedback. It returns the strings as a dictionary mapping from string identifier to the translated string to use in the feedback app UI.
|flow| - ?
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 [result] where:
|result| - ?
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 localized translated strings for feedback. It returns the strings as a dictionary mapping from string identifier to the translated string to use in the feedback app UI. |flow| - ? 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 [result] where: |result| - ? 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-system-information)
Returns the system information dictionary.
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 [system-information] where:
|system-information| - ?
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.
Returns the system information dictionary. 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 [system-information] where: |system-information| - ? 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-user-email)
Returns the email of the currently active or logged in user.
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 [email] where:
|email| - ?
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.
Returns the email of the currently active or logged in user. 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 [email] where: |email| - ? 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.
(login-feedback-complete)
Invoked when the extension is complete during sending feedback from the login page. This is then used to know we can unload the feedback extension from the login profile.
Invoked when the extension is complete during sending feedback from the login page. This is then used to know we can unload the feedback extension from the login profile.
(read-log-source params)
Reads from a log source indicated by source. If incremental is false: Returns the entire contents of the log file. Returns readerId value of 0 to callback. If incremental is true, and no readerId is provided: Returns the entire contents of the log file. Starts tracking the file read handle, which is returned as a nonzero readerId value in the callback. If can't create a new file handle, returns readerId value of 0 in the callback. If incremental is true, and a valid non-zero readerId is provided: Returns new lines written to the file since the last time this function was called for the same file and readerId. Returns the same readerId value to the callback.
|params| - ?
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 [result] where:
|result| - ?
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.
Reads from a log source indicated by source. If incremental is false: Returns the entire contents of the log file. Returns readerId value of 0 to callback. If incremental is true, and no readerId is provided: Returns the entire contents of the log file. Starts tracking the file read handle, which is returned as a nonzero readerId value in the callback. If can't create a new file handle, returns readerId value of 0 in the callback. If incremental is true, and a valid non-zero readerId is provided: Returns new lines written to the file since the last time this function was called for the same file and readerId. Returns the same readerId value to the callback. |params| - ? 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 [result] where: |result| - ? 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.
(send-feedback feedback)
Sends a feedback report.
|feedback| - ?
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 [status type] where:
|status| - ? |type| - ?
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.
Sends a feedback report. |feedback| - ? 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 [status type] where: |status| - ? |type| - ? 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.feedback-private namespace.
Taps all valid non-deprecated events in chromex.ext.feedback-private namespace.
(tap-on-feedback-requested-events channel & args)
Fired when the a user requests the launch of the feedback UI. We're using an event for this versus using the override API since we want to be invoked, but not showing a UI, so the feedback extension can take a screenshot of the user's desktop.
Events will be put on the |channel| with signature [::on-feedback-requested [feedback]] where:
|feedback| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the a user requests the launch of the feedback UI. We're using an event for this versus using the override API since we want to be invoked, but not showing a UI, so the feedback extension can take a screenshot of the user's desktop. Events will be put on the |channel| with signature [::on-feedback-requested [feedback]] where: |feedback| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close