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

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

Issue 920683002: [Password Generation] Add negative votes for crowdsourcing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fixes Created 5 years, 10 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 824aac1b8709ffa5af5a0db4cdd2b77158b8c953..276e1754e673cf4935e98e619690763d7c9e67f6 100644
--- a/components/autofill/core/browser/autofill_type.cc
+++ b/components/autofill/core/browser/autofill_type.cc
@@ -118,6 +118,7 @@ FieldTypeGroup AutofillType::group() const {
case PASSWORD:
case ACCOUNT_CREATION_PASSWORD:
+ case NOT_ACCOUNT_CREATION_PASSWORD:
return PASSWORD_FIELD;
case NO_SERVER_DATA:
@@ -610,6 +611,8 @@ std::string AutofillType::ToString() const {
return "ADDRESS_HOME_DEPENDENT_LOCALITY";
case ADDRESS_BILLING_DEPENDENT_LOCALITY:
return "ADDRESS_BILLING_DEPENDENT_LOCALITY";
+ case NOT_ACCOUNT_CREATION_PASSWORD:
+ return "NOT_ACCOUNT_CREATION_PASSWORD";
case MAX_VALID_FIELD_TYPE:
return std::string();
« no previous file with comments | « chrome/browser/password_manager/native_backend_libsecret_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