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

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

Issue 11428071: support CC expiration dates in imperative autocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 1 month 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
Index: chrome/browser/autofill/form_structure.cc
diff --git a/chrome/browser/autofill/form_structure.cc b/chrome/browser/autofill/form_structure.cc
index 87c48f07c1eb19f58585f6c88584c1d640212970..d685878e093a39f90d5e19f7c8f274309665f2a4 100644
--- a/chrome/browser/autofill/form_structure.cc
+++ b/chrome/browser/autofill/form_structure.cc
@@ -190,6 +190,9 @@ AutofillFieldType FieldTypeFromAutocompleteType(
return CREDIT_CARD_EXP_4_DIGIT_YEAR;
}
+ if (autocomplete_type == "cc-csc")
+ return CREDIT_CARD_VERIFICATION_CODE;
Ilya Sherman 2012/11/30 01:01:32 You'll need to update chrome/test/data/autofill/he
Evan Stade 2012/11/30 22:55:25 Done.
+
if (autocomplete_type == "tel")
return PHONE_HOME_WHOLE_NUMBER;

Powered by Google App Engine
This is Rietveld 408576698