#include "third_party/blink/public/mojom/payments/payment_app.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_app.mojom-params-data.h"
namespace payments {
namespace mojom {
NOINLINE static const char* PaymentHandlerStatusToStringHelper(PaymentHandlerStatus value) { … }
std::string PaymentHandlerStatusToString(PaymentHandlerStatus value) { … }
std::ostream& operator<<(std::ostream& os, PaymentHandlerStatus value) { … }
NOINLINE static const char* CanMakePaymentEventResponseTypeToStringHelper(CanMakePaymentEventResponseType value) { … }
std::string CanMakePaymentEventResponseTypeToString(CanMakePaymentEventResponseType value) { … }
std::ostream& operator<<(std::ostream& os, CanMakePaymentEventResponseType value) { … }
NOINLINE static const char* PaymentEventResponseTypeToStringHelper(PaymentEventResponseType value) { … }
std::string PaymentEventResponseTypeToString(PaymentEventResponseType value) { … }
std::ostream& operator<<(std::ostream& os, PaymentEventResponseType value) { … }
NOINLINE static const char* PaymentDelegationToStringHelper(PaymentDelegation value) { … }
std::string PaymentDelegationToString(PaymentDelegation value) { … }
std::ostream& operator<<(std::ostream& os, PaymentDelegation value) { … }
namespace internal {
bool PaymentInstrument_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentInstrument_Data::PaymentInstrument_Data()
: … { … }
bool CanMakePaymentEventData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CanMakePaymentEventData_Data::CanMakePaymentEventData_Data()
: … { … }
bool PaymentRequestEventData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentRequestEventData_Data::PaymentRequestEventData_Data()
: … { … }
bool CanMakePaymentResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CanMakePaymentResponse_Data::CanMakePaymentResponse_Data()
: … { … }
bool PaymentHandlerResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentHandlerResponse_Data::PaymentHandlerResponse_Data()
: … { … }
bool PaymentManager_Init_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_Init_Params_Data::PaymentManager_Init_Params_Data()
: … { … }
bool PaymentManager_DeletePaymentInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_DeletePaymentInstrument_Params_Data::PaymentManager_DeletePaymentInstrument_Params_Data()
: … { … }
bool PaymentManager_DeletePaymentInstrument_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_DeletePaymentInstrument_ResponseParams_Data::PaymentManager_DeletePaymentInstrument_ResponseParams_Data()
: … { … }
bool PaymentManager_GetPaymentInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_GetPaymentInstrument_Params_Data::PaymentManager_GetPaymentInstrument_Params_Data()
: … { … }
bool PaymentManager_GetPaymentInstrument_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_GetPaymentInstrument_ResponseParams_Data::PaymentManager_GetPaymentInstrument_ResponseParams_Data()
: … { … }
bool PaymentManager_KeysOfPaymentInstruments_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_KeysOfPaymentInstruments_Params_Data::PaymentManager_KeysOfPaymentInstruments_Params_Data()
: … { … }
bool PaymentManager_KeysOfPaymentInstruments_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_KeysOfPaymentInstruments_ResponseParams_Data::PaymentManager_KeysOfPaymentInstruments_ResponseParams_Data()
: … { … }
bool PaymentManager_HasPaymentInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_HasPaymentInstrument_Params_Data::PaymentManager_HasPaymentInstrument_Params_Data()
: … { … }
bool PaymentManager_HasPaymentInstrument_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_HasPaymentInstrument_ResponseParams_Data::PaymentManager_HasPaymentInstrument_ResponseParams_Data()
: … { … }
bool PaymentManager_SetPaymentInstrument_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_SetPaymentInstrument_Params_Data::PaymentManager_SetPaymentInstrument_Params_Data()
: … { … }
bool PaymentManager_SetPaymentInstrument_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_SetPaymentInstrument_ResponseParams_Data::PaymentManager_SetPaymentInstrument_ResponseParams_Data()
: … { … }
bool PaymentManager_ClearPaymentInstruments_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_ClearPaymentInstruments_Params_Data::PaymentManager_ClearPaymentInstruments_Params_Data()
: … { … }
bool PaymentManager_ClearPaymentInstruments_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_ClearPaymentInstruments_ResponseParams_Data::PaymentManager_ClearPaymentInstruments_ResponseParams_Data()
: … { … }
bool PaymentManager_SetUserHint_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_SetUserHint_Params_Data::PaymentManager_SetUserHint_Params_Data()
: … { … }
bool PaymentManager_EnableDelegations_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_EnableDelegations_Params_Data::PaymentManager_EnableDelegations_Params_Data()
: … { … }
bool PaymentManager_EnableDelegations_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentManager_EnableDelegations_ResponseParams_Data::PaymentManager_EnableDelegations_ResponseParams_Data()
: … { … }
bool PaymentHandlerResponseCallback_OnResponseForAbortPayment_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentHandlerResponseCallback_OnResponseForAbortPayment_Params_Data::PaymentHandlerResponseCallback_OnResponseForAbortPayment_Params_Data()
: … { … }
bool PaymentHandlerResponseCallback_OnResponseForCanMakePayment_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentHandlerResponseCallback_OnResponseForCanMakePayment_Params_Data::PaymentHandlerResponseCallback_OnResponseForCanMakePayment_Params_Data()
: … { … }
bool PaymentHandlerResponseCallback_OnResponseForPaymentRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentHandlerResponseCallback_OnResponseForPaymentRequest_Params_Data::PaymentHandlerResponseCallback_OnResponseForPaymentRequest_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentHandlerStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentHandlerStatus value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::CanMakePaymentEventResponseType>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::CanMakePaymentEventResponseType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentEventResponseType>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentEventResponseType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::payments::mojom::PaymentDelegation>::WriteIntoTrace(
perfetto::TracedValue context, ::payments::mojom::PaymentDelegation value) { … }
}