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

Unified Diff: components/autofill/core/browser/autofill_type.cc

Issue 2870163003: Log Autofill.Quality.*.ByFieldType by predicted type for unknown data. (Closed)
Patch Set: remove confusing 'units' from histograms.xml Created 3 years, 7 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
Index: components/autofill/core/browser/autofill_type.cc
diff --git a/components/autofill/core/browser/autofill_type.cc b/components/autofill/core/browser/autofill_type.cc
index 2b97a2f6eda7863a3257779342ba9d3134aa8d52..b58d1a131ba1181b9df3f6708903de81aa7af0db 100644
--- a/components/autofill/core/browser/autofill_type.cc
+++ b/components/autofill/core/browser/autofill_type.cc
@@ -131,6 +131,7 @@ FieldTypeGroup AutofillType::group() const {
case NO_SERVER_DATA:
case EMPTY_TYPE:
+ case AMBIGUOUS_TYPE:
case PHONE_FAX_NUMBER:
case PHONE_FAX_CITY_CODE:
case PHONE_FAX_COUNTRY_CODE:
@@ -771,6 +772,9 @@ std::string AutofillType::ServerFieldTypeToString(ServerFieldType type) {
case CONFIRMATION_PASSWORD:
return "CONFIRMATION_PASSWORD";
+ case AMBIGUOUS_TYPE:
+ return "AMBIGUOUS_TYPE";
+
case MAX_VALID_FIELD_TYPE:
return std::string();
}
« no previous file with comments | « components/autofill/core/browser/autofill_metrics_unittest.cc ('k') | components/autofill/core/browser/field_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698