#include "third_party/blink/public/mojom/webauthn/authenticator.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/webauthn/authenticator.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* AuthenticatorStatusToStringHelper(AuthenticatorStatus value) { … }
std::string AuthenticatorStatusToString(AuthenticatorStatus value) { … }
std::ostream& operator<<(std::ostream& os, AuthenticatorStatus value) { … }
NOINLINE static const char* AuthenticatorTransportToStringHelper(AuthenticatorTransport value) { … }
std::string AuthenticatorTransportToString(AuthenticatorTransport value) { … }
std::ostream& operator<<(std::ostream& os, AuthenticatorTransport value) { … }
NOINLINE static const char* HintToStringHelper(Hint value) { … }
std::string HintToString(Hint value) { … }
std::ostream& operator<<(std::ostream& os, Hint value) { … }
NOINLINE static const char* UserVerificationRequirementToStringHelper(UserVerificationRequirement value) { … }
std::string UserVerificationRequirementToString(UserVerificationRequirement value) { … }
std::ostream& operator<<(std::ostream& os, UserVerificationRequirement value) { … }
NOINLINE static const char* ResidentKeyRequirementToStringHelper(ResidentKeyRequirement value) { … }
std::string ResidentKeyRequirementToString(ResidentKeyRequirement value) { … }
std::ostream& operator<<(std::ostream& os, ResidentKeyRequirement value) { … }
NOINLINE static const char* AuthenticatorAttachmentToStringHelper(AuthenticatorAttachment value) { … }
std::string AuthenticatorAttachmentToString(AuthenticatorAttachment value) { … }
std::ostream& operator<<(std::ostream& os, AuthenticatorAttachment value) { … }
NOINLINE static const char* ProtectionPolicyToStringHelper(ProtectionPolicy value) { … }
std::string ProtectionPolicyToString(ProtectionPolicy value) { … }
std::ostream& operator<<(std::ostream& os, ProtectionPolicy value) { … }
NOINLINE static const char* LargeBlobSupportToStringHelper(LargeBlobSupport value) { … }
std::string LargeBlobSupportToString(LargeBlobSupport value) { … }
std::ostream& operator<<(std::ostream& os, LargeBlobSupport value) { … }
NOINLINE static const char* AttestationConveyancePreferenceToStringHelper(AttestationConveyancePreference value) { … }
std::string AttestationConveyancePreferenceToString(AttestationConveyancePreference value) { … }
std::ostream& operator<<(std::ostream& os, AttestationConveyancePreference value) { … }
NOINLINE static const char* PublicKeyCredentialTypeToStringHelper(PublicKeyCredentialType value) { … }
std::string PublicKeyCredentialTypeToString(PublicKeyCredentialType value) { … }
std::ostream& operator<<(std::ostream& os, PublicKeyCredentialType value) { … }
namespace internal {
bool CommonCredentialInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CommonCredentialInfo_Data::CommonCredentialInfo_Data()
: … { … }
bool SupplementalPubKeysResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SupplementalPubKeysResponse_Data::SupplementalPubKeysResponse_Data()
: … { … }
bool MakeCredentialAuthenticatorResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MakeCredentialAuthenticatorResponse_Data::MakeCredentialAuthenticatorResponse_Data()
: … { … }
bool GetAssertionAuthenticatorResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GetAssertionAuthenticatorResponse_Data::GetAssertionAuthenticatorResponse_Data()
: … { … }
bool AuthenticationExtensionsClientOutputs_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AuthenticationExtensionsClientOutputs_Data::AuthenticationExtensionsClientOutputs_Data()
: … { … }
bool PublicKeyCredentialRpEntity_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialRpEntity_Data::PublicKeyCredentialRpEntity_Data()
: … { … }
bool PublicKeyCredentialUserEntity_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialUserEntity_Data::PublicKeyCredentialUserEntity_Data()
: … { … }
bool PublicKeyCredentialParameters_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialParameters_Data::PublicKeyCredentialParameters_Data()
: … { … }
bool CableAuthentication_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CableAuthentication_Data::CableAuthentication_Data()
: … { … }
bool PRFValues_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PRFValues_Data::PRFValues_Data()
: … { … }
bool PaymentOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentOptions_Data::PaymentOptions_Data()
: … { … }
bool PaymentCredentialInstrument_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentCredentialInstrument_Data::PaymentCredentialInstrument_Data()
: … { … }
bool RemoteDesktopClientOverride_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RemoteDesktopClientOverride_Data::RemoteDesktopClientOverride_Data()
: … { … }
bool SupplementalPubKeysRequest_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SupplementalPubKeysRequest_Data::SupplementalPubKeysRequest_Data()
: … { … }
bool PublicKeyCredentialRequestOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialRequestOptions_Data::PublicKeyCredentialRequestOptions_Data()
: … { … }
bool AuthenticationExtensionsClientInputs_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AuthenticationExtensionsClientInputs_Data::AuthenticationExtensionsClientInputs_Data()
: … { … }
bool AuthenticatorSelectionCriteria_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AuthenticatorSelectionCriteria_Data::AuthenticatorSelectionCriteria_Data()
: … { … }
bool PublicKeyCredentialCreationOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialCreationOptions_Data::PublicKeyCredentialCreationOptions_Data()
: … { … }
bool PublicKeyCredentialDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialDescriptor_Data::PublicKeyCredentialDescriptor_Data()
: … { … }
bool WebAuthnDOMExceptionDetails_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebAuthnDOMExceptionDetails_Data::WebAuthnDOMExceptionDetails_Data()
: … { … }
bool PublicKeyCredentialReportOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PublicKeyCredentialReportOptions_Data::PublicKeyCredentialReportOptions_Data()
: … { … }
bool AllAcceptedCredentialsOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AllAcceptedCredentialsOptions_Data::AllAcceptedCredentialsOptions_Data()
: … { … }
bool CurrentUserDetailsOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CurrentUserDetailsOptions_Data::CurrentUserDetailsOptions_Data()
: … { … }
bool WebAuthnClientCapability_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebAuthnClientCapability_Data::WebAuthnClientCapability_Data()
: … { … }
bool Authenticator_MakeCredential_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_MakeCredential_Params_Data::Authenticator_MakeCredential_Params_Data()
: … { … }
bool Authenticator_MakeCredential_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_MakeCredential_ResponseParams_Data::Authenticator_MakeCredential_ResponseParams_Data()
: … { … }
bool Authenticator_GetAssertion_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_GetAssertion_Params_Data::Authenticator_GetAssertion_Params_Data()
: … { … }
bool Authenticator_GetAssertion_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_GetAssertion_ResponseParams_Data::Authenticator_GetAssertion_ResponseParams_Data()
: … { … }
bool Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_Params_Data::Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_Params_Data()
: … { … }
bool Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_ResponseParams_Data::Authenticator_IsUserVerifyingPlatformAuthenticatorAvailable_ResponseParams_Data()
: … { … }
bool Authenticator_IsConditionalMediationAvailable_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_IsConditionalMediationAvailable_Params_Data::Authenticator_IsConditionalMediationAvailable_Params_Data()
: … { … }
bool Authenticator_IsConditionalMediationAvailable_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_IsConditionalMediationAvailable_ResponseParams_Data::Authenticator_IsConditionalMediationAvailable_ResponseParams_Data()
: … { … }
bool Authenticator_Report_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_Report_Params_Data::Authenticator_Report_Params_Data()
: … { … }
bool Authenticator_Report_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_Report_ResponseParams_Data::Authenticator_Report_ResponseParams_Data()
: … { … }
bool Authenticator_GetClientCapabilities_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_GetClientCapabilities_Params_Data::Authenticator_GetClientCapabilities_Params_Data()
: … { … }
bool Authenticator_GetClientCapabilities_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_GetClientCapabilities_ResponseParams_Data::Authenticator_GetClientCapabilities_ResponseParams_Data()
: … { … }
bool Authenticator_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Authenticator_Cancel_Params_Data::Authenticator_Cancel_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AuthenticatorStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AuthenticatorStatus value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AuthenticatorTransport>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AuthenticatorTransport value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::Hint>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::Hint value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::UserVerificationRequirement>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::UserVerificationRequirement value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ResidentKeyRequirement>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ResidentKeyRequirement value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AuthenticatorAttachment>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AuthenticatorAttachment value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ProtectionPolicy>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ProtectionPolicy value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::LargeBlobSupport>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::LargeBlobSupport value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AttestationConveyancePreference>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AttestationConveyancePreference value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PublicKeyCredentialType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PublicKeyCredentialType value) { … }
}