Index: components/autofill/core/common/form_field_data.cc |
diff --git a/components/autofill/core/common/form_field_data.cc b/components/autofill/core/common/form_field_data.cc |
index 48796627fa921551786ce81afd2f90ba6c647fbc..ae9bd2c4cbf032091df8bc908a9cc7508b19d378 100644 |
--- a/components/autofill/core/common/form_field_data.cc |
+++ b/components/autofill/core/common/form_field_data.cc |
@@ -362,17 +362,17 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) { |
break; |
} |
- return os << base::UTF16ToUTF8(field.label) << " " |
- << base::UTF16ToUTF8(field.name) << " " |
- << base::UTF16ToUTF8(field.id) << " " |
- << base::UTF16ToUTF8(field.value) << " " << field.form_control_type |
- << " " << field.autocomplete_attribute << " " << field.placeholder |
- << " " << field.max_length << " " << field.css_classes << " " |
- << (field.is_autofilled ? "true" : "false") << " " |
- << check_status_str << (field.is_focusable ? "true" : "false") |
- << " " << (field.should_autocomplete ? "true" : "false") << " " |
- << role_str << " " << field.text_direction << " " |
- << field.properties_mask; |
+ return os << base::UTF16ToUTF8(field.label) << "(label)" << " " |
+ << base::UTF16ToUTF8(field.name) << "(name) " |
+ << base::UTF16ToUTF8(field.id) << "(id) " |
+ << base::UTF16ToUTF8(field.value) << "(value) " << field.form_control_type |
+ << "(type) " << field.autocomplete_attribute << "(autocomplete) " << field.placeholder |
+ << "(placeholder) " << field.max_length << "(maxlen) " << field.css_classes << "(css) " |
+ << (field.is_autofilled ? "true" : "false") << "(is_autofilled) " |
+ << check_status_str <<"(check_status_str)" << (field.is_focusable ? "true" : "false") |
+ << "(is_focusable) " << (field.should_autocomplete ? "true" : "false") << "(should_autocomplete) " |
+ << role_str << "(role_str) " << field.text_direction << "(text_dir) " |
+ << field.properties_mask <<"(properties_mask) "; |
} |
} // namespace autofill |