Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1711)

Unified Diff: chrome/browser/autofill/credit_card_field.cc

Issue 2818033: AutoFill: Aggregate profile data. Remove the AutoFill InfoBar. (Closed)
Patch Set: Comment. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/credit_card_field.h ('k') | chrome/browser/autofill/credit_card_field_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/credit_card_field.cc
diff --git a/chrome/browser/autofill/credit_card_field.cc b/chrome/browser/autofill/credit_card_field.cc
index ba55746f0d5e6637c8065228caabcb61adaf32cf..770cff4c8e0c4eb5143ca43fd88ac3d71dea129b 100644
--- a/chrome/browser/autofill/credit_card_field.cc
+++ b/chrome/browser/autofill/credit_card_field.cc
@@ -30,9 +30,6 @@ bool CreditCardField::GetFieldInfo(FieldTypeMap* field_type_map) const {
AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR));
DCHECK(ok);
- Add(field_type_map, verification_,
- AutoFillType(CREDIT_CARD_VERIFICATION_CODE));
-
return ok;
}
@@ -88,23 +85,6 @@ CreditCardField* CreditCardField::Parse(
// TODO(jhawkins): Parse the type select control.
- // We look for a card security code before we look for a credit card number
- // and match the general term "number". The security code has a plethora of
- // names; we've seen "verification #", "verification number",
- // "card identification number" and others listed in the ParseText() call
- // below.
- if (is_ecml) {
- pattern = GetEcmlPattern(kEcmlCardVerification);
- } else {
- pattern = ASCIIToUTF16(
- "verification|card identification|cvn|security code|cvv code|cvc");
- }
-
- if (credit_card_field->verification_ == NULL &&
- ParseText(&q, pattern, &credit_card_field->verification_)) {
- continue;
- }
-
if (is_ecml)
pattern = GetEcmlPattern(kEcmlCardNumber);
else
@@ -177,7 +157,6 @@ CreditCardField::CreditCardField()
cardholder_last_(NULL),
type_(NULL),
number_(NULL),
- verification_(NULL),
expiration_month_(NULL),
expiration_year_(NULL) {
}
« no previous file with comments | « chrome/browser/autofill/credit_card_field.h ('k') | chrome/browser/autofill/credit_card_field_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698