Index: components/password_manager/content/common/credential_manager_struct_traits.h |
diff --git a/components/password_manager/content/common/credential_manager_struct_traits.h b/components/password_manager/content/common/credential_manager_struct_traits.h |
index cf8c5a7c33ea6bb8fce6c49a04d6312b364babb2..aa544b782ce5b467670186b2f8a503a62a9b2035 100644 |
--- a/components/password_manager/content/common/credential_manager_struct_traits.h |
+++ b/components/password_manager/content/common/credential_manager_struct_traits.h |
@@ -22,6 +22,16 @@ struct EnumTraits<password_manager::mojom::CredentialType, |
}; |
template <> |
+struct EnumTraits<password_manager::mojom::CredentialMediationRequirement, |
+ password_manager::CredentialMediationRequirement> { |
+ static password_manager::mojom::CredentialMediationRequirement ToMojom( |
+ password_manager::CredentialMediationRequirement input); |
+ static bool FromMojom( |
+ password_manager::mojom::CredentialMediationRequirement input, |
+ password_manager::CredentialMediationRequirement* output); |
+}; |
+ |
+template <> |
struct StructTraits<password_manager::mojom::CredentialInfoDataView, |
password_manager::CredentialInfo> { |
static password_manager::CredentialType type( |