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

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

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address llya's nits and fix a bug in form structure unit test. Created 7 years, 3 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_profile.cc
diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
index 6e18011e5c439f5a43bd53c1bf9154879f183fa4..11014350fcf2684061cff8a0b890a0811502c8fe 100644
--- a/components/autofill/core/browser/autofill_profile.cc
+++ b/components/autofill/core/browser/autofill_profile.cc
@@ -862,6 +862,7 @@ FormGroup* AutofillProfile::MutableFormGroupForType(const AutofillType& type) {
case NO_GROUP:
case CREDIT_CARD:
+ case PASSWORD_FIELD:
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698