#include "third_party/blink/public/mojom/payments/payment_request.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/payments/payment_request.mojom-params-data.h"
namespace payments {
namespace mojom {
NOINLINE static const char* PaymentErrorReasonToStringHelper(PaymentErrorReason value) { … }
std::string PaymentErrorReasonToString(PaymentErrorReason value) { … }
std::ostream& operator<<(std::ostream& os, PaymentErrorReason value) { … }
NOINLINE static const char* CanMakePaymentQueryResultToStringHelper(CanMakePaymentQueryResult value) { … }
std::string CanMakePaymentQueryResultToString(CanMakePaymentQueryResult value) { … }
std::ostream& operator<<(std::ostream& os, CanMakePaymentQueryResult value) { … }
NOINLINE static const char* HasEnrolledInstrumentQueryResultToStringHelper(HasEnrolledInstrumentQueryResult value) { … }
std::string HasEnrolledInstrumentQueryResultToString(HasEnrolledInstrumentQueryResult value) { … }
std::ostream& operator<<(std::ostream& os, HasEnrolledInstrumentQueryResult value) { … }
NOINLINE static const char* AndroidPayEnvironmentToStringHelper(AndroidPayEnvironment value) { … }
std::string AndroidPayEnvironmentToString(AndroidPayEnvironment value) { … }
std::ostream& operator<<(std::ostream& os, AndroidPayEnvironment value) { … }
NOINLINE static const char* BasicCardNetworkToStringHelper(BasicCardNetwork value) { … }
std::string BasicCardNetworkToString(BasicCardNetwork value) { … }
std::ostream& operator<<(std::ostream& os, BasicCardNetwork value) { … }
NOINLINE static const char* PaymentShippingTypeToStringHelper(PaymentShippingType value) { … }
std::string PaymentShippingTypeToString(PaymentShippingType value) { … }
std::ostream& operator<<(std::ostream& os, PaymentShippingType value) { … }
NOINLINE static const char* PaymentCompleteToStringHelper(PaymentComplete value) { … }
std::string PaymentCompleteToString(PaymentComplete value) { … }
std::ostream& operator<<(std::ostream& os, PaymentComplete value) { … }
namespace internal {
bool PaymentResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentResponse_Data::PaymentResponse_Data()
: … { … }
bool PayerDetail_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PayerDetail_Data::PayerDetail_Data()
: … { … }
bool PaymentItem_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentItem_Data::PaymentItem_Data()
: … { … }
bool PaymentShippingOption_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentShippingOption_Data::PaymentShippingOption_Data()
: … { … }
bool SecurePaymentConfirmationRequest_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SecurePaymentConfirmationRequest_Data::SecurePaymentConfirmationRequest_Data()
: … { … }
bool NetworkOrIssuerInformation_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetworkOrIssuerInformation_Data::NetworkOrIssuerInformation_Data()
: … { … }
bool PaymentMethodData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentMethodData_Data::PaymentMethodData_Data()
: … { … }
bool PaymentDetailsModifier_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentDetailsModifier_Data::PaymentDetailsModifier_Data()
: … { … }
bool PaymentDetails_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentDetails_Data::PaymentDetails_Data()
: … { … }
bool PaymentOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentOptions_Data::PaymentOptions_Data()
: … { … }
bool PaymentRequestClient_OnPaymentMethodChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnPaymentMethodChange_Params_Data::PaymentRequestClient_OnPaymentMethodChange_Params_Data()
: … { … }
bool PaymentRequestClient_OnShippingAddressChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnShippingAddressChange_Params_Data::PaymentRequestClient_OnShippingAddressChange_Params_Data()
: … { … }
bool PaymentRequestClient_OnShippingOptionChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnShippingOptionChange_Params_Data::PaymentRequestClient_OnShippingOptionChange_Params_Data()
: … { … }
bool PaymentRequestClient_OnPayerDetailChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnPayerDetailChange_Params_Data::PaymentRequestClient_OnPayerDetailChange_Params_Data()
: … { … }
bool PaymentRequestClient_OnPaymentResponse_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnPaymentResponse_Params_Data::PaymentRequestClient_OnPaymentResponse_Params_Data()
: … { … }
bool PaymentRequestClient_OnError_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnError_Params_Data::PaymentRequestClient_OnError_Params_Data()
: … { … }
bool PaymentRequestClient_OnComplete_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnComplete_Params_Data::PaymentRequestClient_OnComplete_Params_Data()
: … { … }
bool PaymentRequestClient_OnAbort_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnAbort_Params_Data::PaymentRequestClient_OnAbort_Params_Data()
: … { … }
bool PaymentRequestClient_OnCanMakePayment_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnCanMakePayment_Params_Data::PaymentRequestClient_OnCanMakePayment_Params_Data()
: … { … }
bool PaymentRequestClient_OnHasEnrolledInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_OnHasEnrolledInstrument_Params_Data::PaymentRequestClient_OnHasEnrolledInstrument_Params_Data()
: … { … }
bool PaymentRequestClient_WarnNoFavicon_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_WarnNoFavicon_Params_Data::PaymentRequestClient_WarnNoFavicon_Params_Data()
: … { … }
bool PaymentRequestClient_AllowConnectToSource_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_AllowConnectToSource_Params_Data::PaymentRequestClient_AllowConnectToSource_Params_Data()
: … { … }
bool PaymentRequestClient_AllowConnectToSource_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestClient_AllowConnectToSource_ResponseParams_Data::PaymentRequestClient_AllowConnectToSource_ResponseParams_Data()
: … { … }
bool PaymentRequest_Init_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_Init_Params_Data::PaymentRequest_Init_Params_Data()
: … { … }
bool PaymentRequest_Show_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_Show_Params_Data::PaymentRequest_Show_Params_Data()
: … { … }
bool PaymentRequest_UpdateWith_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_UpdateWith_Params_Data::PaymentRequest_UpdateWith_Params_Data()
: … { … }
bool PaymentRequest_OnPaymentDetailsNotUpdated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_OnPaymentDetailsNotUpdated_Params_Data::PaymentRequest_OnPaymentDetailsNotUpdated_Params_Data()
: … { … }
bool PaymentRequest_Abort_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_Abort_Params_Data::PaymentRequest_Abort_Params_Data()
: … { … }
bool PaymentRequest_Complete_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_Complete_Params_Data::PaymentRequest_Complete_Params_Data()
: … { … }
bool PaymentRequest_Retry_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_Retry_Params_Data::PaymentRequest_Retry_Params_Data()
: … { … }
bool PaymentRequest_CanMakePayment_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_CanMakePayment_Params_Data::PaymentRequest_CanMakePayment_Params_Data()
: … { … }
bool PaymentRequest_HasEnrolledInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequest_HasEnrolledInstrument_Params_Data::PaymentRequest_HasEnrolledInstrument_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentErrorReason>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentErrorReason value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::CanMakePaymentQueryResult>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::CanMakePaymentQueryResult value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::HasEnrolledInstrumentQueryResult>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::HasEnrolledInstrumentQueryResult value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::AndroidPayEnvironment>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::AndroidPayEnvironment value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::BasicCardNetwork>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::BasicCardNetwork value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentShippingType>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentShippingType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentComplete>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentComplete value) { … }
}