summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/common/form_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/common/form_data.h')
-rw-r--r--chromium/components/autofill/core/common/form_data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/components/autofill/core/common/form_data.h b/chromium/components/autofill/core/common/form_data.h
index 9ce96e0894e..3076dedd9a7 100644
--- a/chromium/components/autofill/core/common/form_data.h
+++ b/chromium/components/autofill/core/common/form_data.h
@@ -46,7 +46,10 @@ struct FormData {
url::Origin main_frame_origin;
// True if this form is a form tag.
bool is_form_tag;
- // True if the form is made of unowned fields in a non checkout flow.
+ // True if the form is made of unowned fields (i.e., not within a <form> tag)
+ // in what appears to be a checkout flow. This attribute is only calculated
+ // and used if features::kAutofillRestrictUnownedFieldsToFormlessCheckout is
+ // enabled, to prevent heuristics from running on formless non-checkout.
bool is_formless_checkout;
// A vector of all the input fields in the form.
std::vector<FormFieldData> fields;