#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "components/payments/mojom/payment_request_data.mojom-blink.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "components/payments/mojom/payment_request_data.mojom-params-data.h"
#include "components/payments/mojom/payment_request_data.mojom-shared-message-ids.h"
#include "components/payments/mojom/payment_request_data.mojom-blink-import-headers.h"
#include "components/payments/mojom/payment_request_data.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace payments::mojom::blink {
PaymentAddress::PaymentAddress()
: … { … }
PaymentAddress::PaymentAddress(
const WTF::String& country_in,
WTF::Vector<WTF::String> address_line_in,
const WTF::String& region_in,
const WTF::String& city_in,
const WTF::String& dependent_locality_in,
const WTF::String& postal_code_in,
const WTF::String& sorting_code_in,
const WTF::String& organization_in,
const WTF::String& recipient_in,
const WTF::String& phone_in)
: … { … }
PaymentAddress::~PaymentAddress() = default;
void PaymentAddress::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PaymentAddress::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentCurrencyAmount::PaymentCurrencyAmount()
: … { … }
PaymentCurrencyAmount::PaymentCurrencyAmount(
const WTF::String& currency_in,
const WTF::String& value_in)
: … { … }
PaymentCurrencyAmount::~PaymentCurrencyAmount() = default;
size_t PaymentCurrencyAmount::Hash(size_t seed) const { … }
void PaymentCurrencyAmount::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PaymentCurrencyAmount::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PaymentValidationErrors::PaymentValidationErrors()
: … { … }
PaymentValidationErrors::PaymentValidationErrors(
const WTF::String& error_in,
PayerErrorsPtr payer_in,
AddressErrorsPtr shipping_address_in)
: … { … }
PaymentValidationErrors::~PaymentValidationErrors() = default;
size_t PaymentValidationErrors::Hash(size_t seed) const { … }
void PaymentValidationErrors::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PaymentValidationErrors::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PayerErrors::PayerErrors()
: … { … }
PayerErrors::PayerErrors(
const WTF::String& email_in,
const WTF::String& name_in,
const WTF::String& phone_in)
: … { … }
PayerErrors::~PayerErrors() = default;
size_t PayerErrors::Hash(size_t seed) const { … }
void PayerErrors::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PayerErrors::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AddressErrors::AddressErrors()
: … { … }
AddressErrors::AddressErrors(
const WTF::String& address_line_in,
const WTF::String& city_in,
const WTF::String& country_in,
const WTF::String& dependent_locality_in,
const WTF::String& organization_in,
const WTF::String& phone_in,
const WTF::String& postal_code_in,
const WTF::String& recipient_in,
const WTF::String& region_in,
const WTF::String& sorting_code_in)
: … { … }
AddressErrors::~AddressErrors() = default;
size_t AddressErrors::Hash(size_t seed) const { … }
void AddressErrors::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool AddressErrors::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
}
namespace mojo {
bool StructTraits<::payments::mojom::blink::PaymentAddress::DataView, ::payments::mojom::blink::PaymentAddressPtr>::Read(
::payments::mojom::blink::PaymentAddress::DataView input,
::payments::mojom::blink::PaymentAddressPtr* output) { … }
bool StructTraits<::payments::mojom::blink::PaymentCurrencyAmount::DataView, ::payments::mojom::blink::PaymentCurrencyAmountPtr>::Read(
::payments::mojom::blink::PaymentCurrencyAmount::DataView input,
::payments::mojom::blink::PaymentCurrencyAmountPtr* output) { … }
bool StructTraits<::payments::mojom::blink::PaymentValidationErrors::DataView, ::payments::mojom::blink::PaymentValidationErrorsPtr>::Read(
::payments::mojom::blink::PaymentValidationErrors::DataView input,
::payments::mojom::blink::PaymentValidationErrorsPtr* output) { … }
bool StructTraits<::payments::mojom::blink::PayerErrors::DataView, ::payments::mojom::blink::PayerErrorsPtr>::Read(
::payments::mojom::blink::PayerErrors::DataView input,
::payments::mojom::blink::PayerErrorsPtr* output) { … }
bool StructTraits<::payments::mojom::blink::AddressErrors::DataView, ::payments::mojom::blink::AddressErrorsPtr>::Read(
::payments::mojom::blink::AddressErrors::DataView input,
::payments::mojom::blink::AddressErrorsPtr* output) { … }
}
namespace payments::mojom::blink {
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif