Chromium Code Reviews| Index: components/autofill/core/browser/form_structure.cc |
| diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc |
| index 02e861fe9c2a9a7076100f8dc5cd20968a3c1d6b..b15f45457c7808d235361ab85b46211b11767cd1 100644 |
| --- a/components/autofill/core/browser/form_structure.cc |
| +++ b/components/autofill/core/browser/form_structure.cc |
| @@ -268,6 +268,12 @@ HtmlFieldType FieldTypeFromAutocompleteAttributeValue( |
| if (autocomplete_attribute_value == "email") |
| return HTML_TYPE_EMAIL; |
| + if (autocomplete_attribute_value == "upi-vpa") { |
| + // TODO(rogerm): Add UPI_VIRTUAL_PAYMENT_ADDRESS as an autofill type. |
|
Mathieu
2017/03/23 11:26:22
TODO(crbug.com/xxxxxx) is the norm now (more tract
Mathieu
2017/03/23 11:26:22
nit: it would be HTML_TYPE_UPI...
Roger McFarlane (Chromium)
2017/03/28 19:08:23
Done.
Roger McFarlane (Chromium)
2017/03/28 19:08:24
Done.
|
| + // Until then, fall through after logging the observation. |
| + AutofillMetrics::LogExplicitUpiVpaHint(); |
| + } |
| + |
| return HTML_TYPE_UNRECOGNIZED; |
| } |