Use the chrome.autofillPrivate API to add, remove, or update autofill data from the settings UI.
Use the chrome.autofillPrivate API to add, remove, or update autofill data from the settings UI. * available since Chrome master
(get-address-components country-code)
Gets the address components for a given country code.
|country-code| - A two-character string representing the address' country whose components should be returned. See autofill_country.cc for a list of valid codes.
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 [components] where:
|components| - ?
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 address components for a given country code. |country-code| - A two-character string representing the address' country whose components should be returned. See autofill_country.cc for a list of valid codes. 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 [components] where: |components| - ? 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-address-list)
Gets the list of addresses.
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 [entries] where:
|entries| - ?
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 list of addresses. 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 [entries] where: |entries| - ? 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-country-list)
Gets the list of all countries.
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 [countries] where:
|countries| - ?
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 list of all countries. 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 [countries] where: |countries| - ? 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-credit-card-list)
Gets the list of credit cards.
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 [entries] where:
|entries| - ?
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 list of credit cards. 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 [entries] where: |entries| - ? 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-upi-id-list)
Gets the list of UPI IDs (a.k.a. Virtual Payment Addresses).
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 [entries] where:
|entries| - ?
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 list of UPI IDs (a.k.a. Virtual Payment Addresses). 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 [entries] where: |entries| - ? 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.
(log-server-card-link-clicked)
Logs that the server cards edit link was clicked.
Logs that the server cards edit link was clicked.
(mask-credit-card guid)
Clears the data associated with a wallet card which was saved locally so that the saved copy is masked (e.g., 'Card ending in 1234').
|guid| - GUID of the credit card to mask.
Clears the data associated with a wallet card which was saved locally so that the saved copy is masked (e.g., 'Card ending in 1234'). |guid| - GUID of the credit card to mask.
(migrate-credit-cards)
Triggers local credit cards migration.
Triggers local credit cards migration.
(remove-entry guid)
Removes the entry (address or credit card) with the given ID.
|guid| - ID of the entry to remove.
Removes the entry (address or credit card) with the given ID. |guid| - ID of the entry to remove.
(save-address address)
Saves the given address. If |address| has an empty string as its ID, it will be assigned a new one and added as a new entry.
|address| - The address entry to save.
Saves the given address. If |address| has an empty string as its ID, it will be assigned a new one and added as a new entry. |address| - The address entry to save.
(save-credit-card card)
Saves the given credit card. If |card| has an empty string as its ID, it will be assigned a new one and added as a new entry.
|card| - The card entry to save.
Saves the given credit card. If |card| has an empty string as its ID, it will be assigned a new one and added as a new entry. |card| - The card entry to save.
(set-credit-card-fido-auth-enabled-state enabled)
Enables or disables FIDO Authentication for credit card unmasking.
|enabled| - ?
Enables or disables FIDO Authentication for credit card unmasking. |enabled| - ?
(set-credit-card-fido-auth-enabled-state* config enabled)
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.autofill-private namespace.
Taps all valid non-deprecated events in chromex.app.autofill-private namespace.
(tap-on-personal-data-changed-events channel & args)
Fired when the personal data has changed, meaning that an entry has been added, removed, or changed. |entries| The updated list of entries.
Events will be put on the |channel| with signature [::on-personal-data-changed [address-entries credit-card-entries]] where:
|address-entries| - ? |credit-card-entries| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the personal data has changed, meaning that an entry has been added, removed, or changed. |entries| The updated list of entries. Events will be put on the |channel| with signature [::on-personal-data-changed [address-entries credit-card-entries]] where: |address-entries| - ? |credit-card-entries| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(validate-phone-numbers params)
Validates a newly-added phone number and invokes the callback with a list of validated numbers. Note that if the newly-added number was invalid, it will not be returned in the list of valid numbers.
|params| - The parameters to this function.
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 [validated-phone-numbers] where:
|validated-phone-numbers| - ?
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.
Validates a newly-added phone number and invokes the callback with a list of validated numbers. Note that if the newly-added number was invalid, it will not be returned in the list of valid numbers. |params| - The parameters to this function. 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 [validated-phone-numbers] where: |validated-phone-numbers| - ? 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