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

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

Issue 1189293003: Removing PasswordForm::password_auto_complete_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/common/password_form.cc
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc
index e5edaca902396f6e61950f167ee485816173e428..a342e8e387171fe13b5621b171ad34610edc9223 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -37,7 +37,6 @@ void PasswordFormToJSON(const PasswordForm& form,
form.new_password_marked_by_site);
target->SetString("other_possible_usernames",
JoinString(form.other_possible_usernames, '|'));
- target->SetBoolean("autocomplete_set", form.password_autocomplete_set);
target->SetBoolean("blacklisted", form.blacklisted_by_user);
target->SetBoolean("preferred", form.preferred);
target->SetBoolean("ssl_valid", form.ssl_valid);
@@ -66,7 +65,6 @@ void PasswordFormToJSON(const PasswordForm& form,
PasswordForm::PasswordForm()
: scheme(SCHEME_HTML),
username_marked_by_site(false),
- password_autocomplete_set(true),
new_password_marked_by_site(false),
ssl_valid(false),
preferred(false),
@@ -103,7 +101,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 &&
new_password_element == form.new_password_element &&
new_password_marked_by_site == form.new_password_marked_by_site &&
new_password_value == form.new_password_value &&
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | components/autofill/core/common/save_password_progress_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698