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

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

Issue 2745803003: autofill-try
Patch Set: before I leave Created 3 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/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

Powered by Google App Engine
This is Rietveld 408576698