Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1374)

Unified Diff: third_party/closure_compiler/externs/autofill_private.js

Issue 1957043002: Separate the listeners and getters for the Autofill Private API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill-lists.gitbr
Patch Set: update histogram.xml and test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/externs/autofill_private.js
diff --git a/third_party/closure_compiler/externs/autofill_private.js b/third_party/closure_compiler/externs/autofill_private.js
index dc2f693243f16414e35e0f41fe16168aa5e8ff6b..61498c832014d68543738b9a3dd6557202cefa6e 100644
--- a/third_party/closure_compiler/externs/autofill_private.js
+++ b/third_party/closure_compiler/externs/autofill_private.js
@@ -136,6 +136,14 @@ chrome.autofillPrivate.saveAddress = function(address) {};
chrome.autofillPrivate.getAddressComponents = function(countryCode, callback) {};
/**
+ * Gets the list of addresses.
+ * @param {function(!Array<!chrome.autofillPrivate.AddressEntry>):void} callback
+ * Callback which will be called with the list of addresses.
+ * @see https://developer.chrome.com/extensions/autofillPrivate#method-getAddressList
+ */
+chrome.autofillPrivate.getAddressList = function(callback) {};
+
+/**
* 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.
* @param {!chrome.autofillPrivate.CreditCardEntry} card The card entry to save.
@@ -163,6 +171,14 @@ chrome.autofillPrivate.removeEntry = function(guid) {};
chrome.autofillPrivate.validatePhoneNumbers = function(params, callback) {};
/**
+ * Gets the list of credit cards.
+ * @param {function(!Array<!chrome.autofillPrivate.CreditCardEntry>):void}
+ * callback Callback which will be called with the list of credit cards.
+ * @see https://developer.chrome.com/extensions/autofillPrivate#method-getCreditCardList
+ */
+chrome.autofillPrivate.getCreditCardList = function(callback) {};
+
+/**
* 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").
* @param {string} guid GUID of the credit card to mask.
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698