diff options
author | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 09:30:22 +0000 |
---|---|---|
committer | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 09:30:22 +0000 |
commit | a6903b16428cbfd4cf5bdb8a1d64b092e6b945dd (patch) | |
tree | d7f21891b1cfae12d34306f0a3e22b329b4acd95 /chrome/browser/autofill/credit_card.h | |
parent | 70b2726ad5be0486c9e0654056c3bcae80cd0b41 (diff) | |
download | chromium_src-a6903b16428cbfd4cf5bdb8a1d64b092e6b945dd.zip chromium_src-a6903b16428cbfd4cf5bdb8a1d64b092e6b945dd.tar.gz chromium_src-a6903b16428cbfd4cf5bdb8a1d64b092e6b945dd.tar.bz2 |
Added Credit card preview in the form ******[last four digits], Exp: [Date - month and year]
BUG=33026
TEST=should appear like in mocks, when dialog is finished
Review URL: http://codereview.chromium.org/566027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card.h')
-rw-r--r-- | chrome/browser/autofill/credit_card.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h index 7c9716e..1f99405 100644 --- a/chrome/browser/autofill/credit_card.h +++ b/chrome/browser/autofill/credit_card.h @@ -82,6 +82,9 @@ class CreditCard : public FormGroup { void set_expiration_month(int expiration_month); void set_expiration_year(int expiration_year); + // Credit card preview summary, for example: ******1234, Exp: 01/2020 + std::wstring PreviewSummary() const; + // For use in STL containers. void operator=(const CreditCard&); |