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

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: self review 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;
+
if (autocomplete_type == "tel")
return PHONE_HOME_WHOLE_NUMBER;

Powered by Google App Engine
This is Rietveld 408576698