| Index: components/autofill/core/browser/credit_card_field.h
|
| diff --git a/components/autofill/core/browser/credit_card_field.h b/components/autofill/core/browser/credit_card_field.h
|
| index 269a1157ff1b918e591cb8040235b695cb137320..344fac82674378c7b17109b4a47e63c61cfcd4bd 100644
|
| --- a/components/autofill/core/browser/credit_card_field.h
|
| +++ b/components/autofill/core/browser/credit_card_field.h
|
| @@ -59,6 +59,10 @@ class CreditCardField : public FormField {
|
| // |CREDIT_CARD_EXP_2_DIGIT_YEAR|; otherwise |CREDIT_CARD_EXP_4_DIGIT_YEAR|.
|
| ServerFieldType GetExpirationYearType() const;
|
|
|
| + // Returns whether the expiration has been set for this credit card field.
|
| + // It can be either a date or both the month and the year.
|
| + bool HasExpiration() const;
|
| +
|
| AutofillField* cardholder_; // Optional.
|
|
|
| // Occasionally pages have separate fields for the cardholder's first and
|
|
|