Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Unified Diff: components/password_manager/content/common/credential_manager_struct_traits.h

Issue 2864493003: Deprecate CredentialRequestOptions.unmediated in favor mediation enum (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698