Chromium Code Reviews| 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 56e9579411e5ccf454ecf9b2e1288547791e9c50..2c1eb602660bf6f8778d301bff5b2f124f8cae96 100644 |
| --- a/components/autofill/core/browser/credit_card.h |
| +++ b/components/autofill/core/browser/credit_card.h |
| @@ -192,6 +192,9 @@ class CreditCard : public AutofillDataModel { |
| const std::string& app_locale, |
| int* num); |
| + // Returns whether the credit card is expired based on |time|. |
|
Mathieu
2016/04/13 18:40:37
rename |time| to |now| or |current_time|?
sebsg
2016/04/13 20:16:31
Done.
|
| + bool IsExpired(const base::Time& time) const; |
| + |
| private: |
| // FormGroup: |
| void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override; |