| Index: components/autofill/content/common/autofill_types_struct_traits.h
|
| diff --git a/components/autofill/content/common/autofill_types_struct_traits.h b/components/autofill/content/common/autofill_types_struct_traits.h
|
| index 7d4c03035427ec97cd496d13f90986d53dd14d98..0c51ed527ab74e10da26b76112817e73b92bd907 100644
|
| --- a/components/autofill/content/common/autofill_types_struct_traits.h
|
| +++ b/components/autofill/content/common/autofill_types_struct_traits.h
|
| @@ -85,6 +85,16 @@ struct EnumTraits<autofill::mojom::PasswordFormFieldPredictionType,
|
| autofill::PasswordFormFieldPredictionType* output);
|
| };
|
|
|
| +template <>
|
| +struct EnumTraits<autofill::mojom::PasswordFormSubmissionIndicatorEvent,
|
| + autofill::PasswordForm::SubmissionIndicatorEvent> {
|
| + static autofill::mojom::PasswordFormSubmissionIndicatorEvent ToMojom(
|
| + autofill::PasswordForm::SubmissionIndicatorEvent input);
|
| + static bool FromMojom(
|
| + autofill::mojom::PasswordFormSubmissionIndicatorEvent input,
|
| + autofill::PasswordForm::SubmissionIndicatorEvent* output);
|
| +};
|
| +
|
| template <>
|
| struct StructTraits<autofill::mojom::FormFieldDataDataView,
|
| autofill::FormFieldData> {
|
| @@ -497,6 +507,11 @@ struct StructTraits<autofill::mojom::PasswordFormDataView,
|
| return r.does_look_like_signup_form;
|
| }
|
|
|
| + static autofill::PasswordForm::SubmissionIndicatorEvent submission_event(
|
| + const autofill::PasswordForm& r) {
|
| + return r.submission_event;
|
| + }
|
| +
|
| static bool Read(autofill::mojom::PasswordFormDataView data,
|
| autofill::PasswordForm* out);
|
| };
|
|
|