| Index: components/autofill/core/browser/autofill_field.h
|
| diff --git a/components/autofill/core/browser/autofill_field.h b/components/autofill/core/browser/autofill_field.h
|
| index 94f8c9d8defdeb8e2f3db81cec0fd2d688c37437..52137e1af1982b05b8d5f6bce455d15c36eb1334 100644
|
| --- a/components/autofill/core/browser/autofill_field.h
|
| +++ b/components/autofill/core/browser/autofill_field.h
|
| @@ -92,6 +92,15 @@ class AutofillField : public FormFieldData {
|
| return generation_type_;
|
| }
|
|
|
| + void set_form_classifier_outcome(
|
| + AutofillUploadContents::Field::FormClassifierOutcome outcome) {
|
| + form_classifier_outcome_ = outcome;
|
| + }
|
| + AutofillUploadContents::Field::FormClassifierOutcome form_classifier_outcome()
|
| + const {
|
| + return form_classifier_outcome_;
|
| + }
|
| +
|
| // Set |field_data|'s value to |value|. Uses |field|, |address_language_code|,
|
| // and |app_locale| as hints when filling exceptional cases like phone number
|
| // values and <select> fields. Returns |true| if the field has been filled,
|
| @@ -163,6 +172,9 @@ class AutofillField : public FormFieldData {
|
| // The type of password generation event, if it happened.
|
| AutofillUploadContents::Field::PasswordGenerationType generation_type_;
|
|
|
| + // The outcome of HTML parsing based form classifier.
|
| + AutofillUploadContents::Field::FormClassifierOutcome form_classifier_outcome_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AutofillField);
|
| };
|
|
|
|
|