summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/credit_card.h
diff options
context:
space:
mode:
authorgeorgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 09:30:22 +0000
committergeorgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 09:30:22 +0000
commita6903b16428cbfd4cf5bdb8a1d64b092e6b945dd (patch)
treed7f21891b1cfae12d34306f0a3e22b329b4acd95 /chrome/browser/autofill/credit_card.h
parent70b2726ad5be0486c9e0654056c3bcae80cd0b41 (diff)
downloadchromium_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.h3
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&);