diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 16:12:55 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 16:12:55 +0000 |
commit | ea05398d96221f8cc20939bad5fe52d4b11d3bd4 (patch) | |
tree | 6cd25c8065d5743a3f682c18c61f4d5da726d709 /chrome/browser/autofill/credit_card.h | |
parent | 9d6dcdf0882b57fbb0825ab880f321d7682bad4a (diff) | |
download | chromium_src-ea05398d96221f8cc20939bad5fe52d4b11d3bd4.zip chromium_src-ea05398d96221f8cc20939bad5fe52d4b11d3bd4.tar.gz chromium_src-ea05398d96221f8cc20939bad5fe52d4b11d3bd4.tar.bz2 |
Adds obscuring to credit card numbers when displayed.
xib change: added tag to fields that are used for credit card numbers.
BUG=http://crbug.com/38259
TEST=as in bug
Review URL: http://codereview.chromium.org/1219009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card.h')
-rw-r--r-- | chrome/browser/autofill/credit_card.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h index ec1bd6e..295ec79 100644 --- a/chrome/browser/autofill/credit_card.h +++ b/chrome/browser/autofill/credit_card.h @@ -30,6 +30,8 @@ class CreditCard : public FormGroup { virtual void SetInfo(const AutoFillType& type, const string16& value); const string16& Label() const { return label_; } + // The number altered for display, for example: ******1234 + string16 ObfuscatedNumber() const; // Credit card preview summary, for example: ******1234, Exp: 01/2020 string16 PreviewSummary() const; |