| Index: components/autofill/core/browser/credit_card.h
|
| diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
|
| index 63a9ba59fed7ed02e7d796ec4eb421c5bc0ff407..a9dd937e8e6e0390d9c85fee07cc9530b7ba7241 100644
|
| --- a/components/autofill/core/browser/credit_card.h
|
| +++ b/components/autofill/core/browser/credit_card.h
|
| @@ -80,14 +80,14 @@ class CreditCard : public AutofillDataModel {
|
| const base::string16& value,
|
| const std::string& app_locale) override;
|
|
|
| - // Credit card preview summary, for example: ******1234, Exp: 01/2020
|
| + // Credit card preview summary, for example: Visa - 1234, Exp: 01/2020
|
| + // Used for settings and the requestAutocomplete dialog, but not
|
| + // the autofill dropdown.
|
| const base::string16 Label() const;
|
|
|
| // Special method to set value for HTML5 month input type.
|
| void SetInfoForMonthInputType(const base::string16& value);
|
|
|
| - // The number altered for display, for example: ******1234
|
| - base::string16 ObfuscatedNumber() const;
|
| // The last four digits of the credit card number (or possibly less if there
|
| // aren't enough characters).
|
| base::string16 LastFourDigits() const;
|
| @@ -148,6 +148,9 @@ class CreditCard : public AutofillDataModel {
|
| // FormGroup:
|
| void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;
|
|
|
| + // The type of the card to fill in to the page, e.g. 'Mastercard'.
|
| + base::string16 TypeForFill() const;
|
| +
|
| // The month and year are zero if not present.
|
| int Expiration4DigitYear() const { return expiration_year_; }
|
| int Expiration2DigitYear() const { return expiration_year_ % 100; }
|
|
|