diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 17:43:01 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 17:43:01 +0000 |
commit | 224d21b895ef373bdaaf12960004e2b5d4e2b1b5 (patch) | |
tree | edae7ffc526abdde069994accdfdb99278545f63 /chrome/browser/autofill/credit_card_field.h | |
parent | 1252b9a069a1f79116252d6bbc47fbac92e0f732 (diff) | |
download | chromium_src-224d21b895ef373bdaaf12960004e2b5d4e2b1b5.zip chromium_src-224d21b895ef373bdaaf12960004e2b5d4e2b1b5.tar.gz chromium_src-224d21b895ef373bdaaf12960004e2b5d4e2b1b5.tar.bz2 |
AutoFill credit card field filling.
Adds logic to heuristically determine when credit card fields are present in a
form and fills in user-provided credit card data into form fields when
appropriate.
BUG=38320
TEST=CreditCardFieldTest, FormStructureTest, manual testing with cc.html (attached).
Review URL: http://codereview.chromium.org/1534005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card_field.h')
-rw-r--r-- | chrome/browser/autofill/credit_card_field.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autofill/credit_card_field.h b/chrome/browser/autofill/credit_card_field.h index bad1eb9..cf3545e 100644 --- a/chrome/browser/autofill/credit_card_field.h +++ b/chrome/browser/autofill/credit_card_field.h @@ -38,12 +38,12 @@ class CreditCardField : public FormField { AutoFillField* cardholder_last_; AutoFillField* type_; // Optional. TODO(jhawkins): Parse the select control. - AutoFillField* number_; + AutoFillField* number_; // Required. // The 3-digit card verification number; we don't currently fill this. AutoFillField* verification_; - // Both optional. TODO(jhawkins): Parse the select control. + // Both required. TODO(jhawkins): Parse the select control. AutoFillField* expiration_month_; AutoFillField* expiration_year_; }; |