| Index: components/autofill/core/browser/form_structure.cc
|
| diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc
|
| index a58c1c8b67c13c4def44dc584633b0419863bd3a..f41583b01fe6c17d6b2b6488202e436877478d19 100644
|
| --- a/components/autofill/core/browser/form_structure.cc
|
| +++ b/components/autofill/core/browser/form_structure.cc
|
| @@ -272,6 +272,16 @@ std::string StripDigitsIfRequired(const base::string16& input) {
|
| return return_string;
|
| }
|
|
|
| +std::ostream& operator<<(
|
| + std::ostream& s,
|
| + const autofill::AutofillQueryResponseContents& response) {
|
| + s << "upload_required: " << response.upload_required();
|
| + for (const auto& field : response.field()) {
|
| + s << "\nautofill_type: " << field.autofill_type();
|
| + }
|
| + return s;
|
| +}
|
| +
|
| } // namespace
|
|
|
| FormStructure::FormStructure(const FormData& form)
|
| @@ -433,6 +443,8 @@ void FormStructure::ParseQueryResponse(std::string payload,
|
| if (!response.ParseFromString(payload))
|
| return;
|
|
|
| + VLOG(1) << response;
|
| +
|
| AutofillMetrics::LogServerQueryMetric(AutofillMetrics::QUERY_RESPONSE_PARSED);
|
|
|
| bool heuristics_detected_fillable_field = false;
|
|
|