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

Unified Diff: components/autofill/common/form_field_data.cc

Issue 12721004: Autofill:Autocomplete: Enable autocheckout of input elements of type password. This will support fi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/common/form_field_data.cc
diff --git a/components/autofill/common/form_field_data.cc b/components/autofill/common/form_field_data.cc
index d78966d20338d6eaa0784831cc0781470f333599..da8a0642df74436555a75f7457d02202f414a195 100644
--- a/components/autofill/common/form_field_data.cc
+++ b/components/autofill/common/form_field_data.cc
@@ -12,6 +12,7 @@ FormFieldData::FormFieldData()
is_autofilled(false),
is_checked(false),
is_checkable(false),
+ is_password_field(false),
is_focusable(false),
should_autocomplete(true) {
}
@@ -60,6 +61,8 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) {
<< " "
<< (field.is_checkable ? "true" : "false")
<< " "
+ << (field.is_password_field ? "true" : "false")
+ << " "
<< (field.is_focusable ? "true" : "false")
<< " "
<< (field.should_autocomplete ? "true" : "false");

Powered by Google App Engine
This is Rietveld 408576698