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 cb2ab21ed32858657d6570027f10f429b475c813..2cd83b85e3965faf7fd771a1207772e3aba52dd0 100644 |
| --- a/components/autofill/core/browser/credit_card.h |
| +++ b/components/autofill/core/browser/credit_card.h |
| @@ -63,6 +63,8 @@ class CreditCard : public AutofillDataModel { |
| // This method is not compiled on iOS because the resources are not used and |
| // should not be shipped. |
| +// TODO(jdonnelly): Use credit card issuer images on iOS. |
| +// http://crbug.com/535784 |
| #if !defined(OS_IOS) |
| // The ResourceBundle ID for the appropriate credit card image. |
| static int IconResourceId(const std::string& type); |
| @@ -113,6 +115,9 @@ class CreditCard : public AutofillDataModel { |
| // A label for this credit card formatted as 'Cardname - 2345'. |
| base::string16 TypeAndLastFourDigits() const; |
| + // The expiration for this credit card formatted as 'Exp: 06/17'. |
|
Peter Kasting
2016/01/12 23:09:37
Nit: Might want to be clear about whether this is
please use gerrit instead
2016/01/13 21:22:09
Done.
|
| + base::string16 AbbreviatedExpirationDateForDisplay() const; |
| + |
| const std::string& type() const { return type_; } |
| int expiration_month() const { return expiration_month_; } |