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

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

Issue 2637823002: [Password Generation] Send votes about confirmation fields (Closed)
Patch Set: Fixed comment to |confirmation_password_element| Created 3 years, 11 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 47081994a9dc8526513191afea2fab0a8b08d657..8dc9dbc85ad69ee12ca86283135b02069bec3716 100644
--- a/components/autofill/core/browser/autofill_type.cc
+++ b/components/autofill/core/browser/autofill_type.cc
@@ -126,6 +126,7 @@ FieldTypeGroup AutofillType::group() const {
case PROBABLY_NEW_PASSWORD:
case NOT_NEW_PASSWORD:
case PROBABLY_ACCOUNT_CREATION_PASSWORD:
+ case CONFIRMATION_PASSWORD:
return PASSWORD_FIELD;
case NO_SERVER_DATA:
@@ -757,6 +758,8 @@ std::string AutofillType::ServerFieldTypeToString(ServerFieldType type) {
return "NOT_NEW_PASSWORD";
case PROBABLY_ACCOUNT_CREATION_PASSWORD:
return "PROBABLY_ACCOUNT_CREATION_PASSWORD";
+ case CONFIRMATION_PASSWORD:
+ return "CONFIRMATION_PASSWORD";
case MAX_VALID_FIELD_TYPE:
return std::string();

Powered by Google App Engine
This is Rietveld 408576698