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

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: 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_comboboxes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_comboboxes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698