| Index: chrome/common/extensions/api/autofill_private.idl
|
| diff --git a/chrome/common/extensions/api/autofill_private.idl b/chrome/common/extensions/api/autofill_private.idl
|
| index 43edb3d0d28b0d8ae94490cc04db2a3f95f22b0c..b70b6496ca96e97d99ad33abb558e745ddcd348d 100644
|
| --- a/chrome/common/extensions/api/autofill_private.idl
|
| +++ b/chrome/common/extensions/api/autofill_private.idl
|
| @@ -165,10 +165,11 @@ namespace autofillPrivate {
|
| DOMString countryCode;
|
| };
|
|
|
| - callback GetAddressComponentsCallback =
|
| - void(AddressComponents components);
|
| + callback GetAddressComponentsCallback = void(AddressComponents components);
|
| + callback GetAddressListCallback = void(AddressEntry[] entries);
|
| callback ValidatePhoneNumbersCallback =
|
| void(DOMString[] validatedPhoneNumbers);
|
| + callback GetCreditCardListCallback = void(CreditCardEntry[] entries);
|
|
|
| interface Functions {
|
| // Saves the given address. If |address| has an empty string as its ID, it
|
| @@ -186,6 +187,10 @@ namespace autofillPrivate {
|
| static void getAddressComponents(DOMString countryCode,
|
| GetAddressComponentsCallback callback);
|
|
|
| + // Gets the list of addresses.
|
| + // |callback|: Callback which will be called with the list of addresses.
|
| + static void getAddressList(GetAddressListCallback 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.
|
| //
|
| @@ -206,6 +211,10 @@ namespace autofillPrivate {
|
| static void validatePhoneNumbers(ValidatePhoneParams params,
|
| ValidatePhoneNumbersCallback callback);
|
|
|
| + // Gets the list of credit cards.
|
| + // |callback|: Callback which will be called with the list of credit cards.
|
| + static void getCreditCardList(GetCreditCardListCallback 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").
|
|
|