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

Unified Diff: components/autofill/core/common/password_form.cc

Issue 103503002: Ignore autocomplete='off' for usernames and passwords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits from gcasto Created 7 years 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
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/password_form.cc
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc
index dcbc874ac4288565e75f89256b5998fc924d6f56..edfb2cbe33aed56c49ef983043b158cd59f2c90b 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -12,7 +12,6 @@ namespace autofill {
PasswordForm::PasswordForm()
: scheme(SCHEME_HTML),
- password_autocomplete_set(true),
ssl_valid(false),
preferred(false),
blacklisted_by_user(false),
@@ -37,7 +36,6 @@ bool PasswordForm::operator==(const PasswordForm& form) const {
other_possible_usernames == form.other_possible_usernames &&
password_element == form.password_element &&
password_value == form.password_value &&
- password_autocomplete_set == form.password_autocomplete_set &&
old_password_element == form.old_password_element &&
old_password_value == form.old_password_value &&
ssl_valid == form.ssl_valid &&
@@ -66,7 +64,6 @@ std::ostream& operator<<(std::ostream& os, const PasswordForm& form) {
<< " old_password_element: "
<< UTF16ToUTF8(form.old_password_element)
<< " old_password_value: " << UTF16ToUTF8(form.old_password_value)
- << " autocomplete_set:" << form.password_autocomplete_set
<< " blacklisted: " << form.blacklisted_by_user
<< " preferred: " << form.preferred
<< " ssl_valid: " << form.ssl_valid
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698