#include "chrome/browser/cart/chrome_cart.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 "chrome/browser/cart/chrome_cart.mojom-params-data.h"
namespace chrome_cart {
namespace mojom {
NOINLINE static const char* ConsentStatusToStringHelper(ConsentStatus value) { … }
std::string ConsentStatusToString(ConsentStatus value) { … }
std::ostream& operator<<(std::ostream& os, ConsentStatus value) { … }
namespace internal {
bool MerchantCart_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MerchantCart_Data::MerchantCart_Data()
: … { … }
bool CartHandler_GetMerchantCarts_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetMerchantCarts_Params_Data::CartHandler_GetMerchantCarts_Params_Data()
: … { … }
bool CartHandler_GetMerchantCarts_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetMerchantCarts_ResponseParams_Data::CartHandler_GetMerchantCarts_ResponseParams_Data()
: … { … }
bool CartHandler_GetCartFeatureEnabled_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetCartFeatureEnabled_Params_Data::CartHandler_GetCartFeatureEnabled_Params_Data()
: … { … }
bool CartHandler_GetCartFeatureEnabled_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetCartFeatureEnabled_ResponseParams_Data::CartHandler_GetCartFeatureEnabled_ResponseParams_Data()
: … { … }
bool CartHandler_HideCartModule_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_HideCartModule_Params_Data::CartHandler_HideCartModule_Params_Data()
: … { … }
bool CartHandler_RestoreHiddenCartModule_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RestoreHiddenCartModule_Params_Data::CartHandler_RestoreHiddenCartModule_Params_Data()
: … { … }
bool CartHandler_HideCart_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_HideCart_Params_Data::CartHandler_HideCart_Params_Data()
: … { … }
bool CartHandler_HideCart_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_HideCart_ResponseParams_Data::CartHandler_HideCart_ResponseParams_Data()
: … { … }
bool CartHandler_RestoreHiddenCart_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RestoreHiddenCart_Params_Data::CartHandler_RestoreHiddenCart_Params_Data()
: … { … }
bool CartHandler_RestoreHiddenCart_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RestoreHiddenCart_ResponseParams_Data::CartHandler_RestoreHiddenCart_ResponseParams_Data()
: … { … }
bool CartHandler_RemoveCart_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RemoveCart_Params_Data::CartHandler_RemoveCart_Params_Data()
: … { … }
bool CartHandler_RemoveCart_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RemoveCart_ResponseParams_Data::CartHandler_RemoveCart_ResponseParams_Data()
: … { … }
bool CartHandler_RestoreRemovedCart_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RestoreRemovedCart_Params_Data::CartHandler_RestoreRemovedCart_Params_Data()
: … { … }
bool CartHandler_RestoreRemovedCart_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_RestoreRemovedCart_ResponseParams_Data::CartHandler_RestoreRemovedCart_ResponseParams_Data()
: … { … }
bool CartHandler_GetWarmWelcomeVisible_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetWarmWelcomeVisible_Params_Data::CartHandler_GetWarmWelcomeVisible_Params_Data()
: … { … }
bool CartHandler_GetWarmWelcomeVisible_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetWarmWelcomeVisible_ResponseParams_Data::CartHandler_GetWarmWelcomeVisible_ResponseParams_Data()
: … { … }
bool CartHandler_GetDiscountURL_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountURL_Params_Data::CartHandler_GetDiscountURL_Params_Data()
: … { … }
bool CartHandler_GetDiscountURL_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountURL_ResponseParams_Data::CartHandler_GetDiscountURL_ResponseParams_Data()
: … { … }
bool CartHandler_GetDiscountConsentCardVisible_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountConsentCardVisible_Params_Data::CartHandler_GetDiscountConsentCardVisible_Params_Data()
: … { … }
bool CartHandler_GetDiscountConsentCardVisible_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountConsentCardVisible_ResponseParams_Data::CartHandler_GetDiscountConsentCardVisible_ResponseParams_Data()
: … { … }
bool CartHandler_GetDiscountToggleVisible_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountToggleVisible_Params_Data::CartHandler_GetDiscountToggleVisible_Params_Data()
: … { … }
bool CartHandler_GetDiscountToggleVisible_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountToggleVisible_ResponseParams_Data::CartHandler_GetDiscountToggleVisible_ResponseParams_Data()
: … { … }
bool CartHandler_OnDiscountConsentAcknowledged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_OnDiscountConsentAcknowledged_Params_Data::CartHandler_OnDiscountConsentAcknowledged_Params_Data()
: … { … }
bool CartHandler_OnDiscountConsentDismissed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_OnDiscountConsentDismissed_Params_Data::CartHandler_OnDiscountConsentDismissed_Params_Data()
: … { … }
bool CartHandler_OnDiscountConsentContinued_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_OnDiscountConsentContinued_Params_Data::CartHandler_OnDiscountConsentContinued_Params_Data()
: … { … }
bool CartHandler_ShowNativeConsentDialog_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_ShowNativeConsentDialog_Params_Data::CartHandler_ShowNativeConsentDialog_Params_Data()
: … { … }
bool CartHandler_ShowNativeConsentDialog_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_ShowNativeConsentDialog_ResponseParams_Data::CartHandler_ShowNativeConsentDialog_ResponseParams_Data()
: … { … }
bool CartHandler_GetDiscountEnabled_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountEnabled_Params_Data::CartHandler_GetDiscountEnabled_Params_Data()
: … { … }
bool CartHandler_GetDiscountEnabled_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_GetDiscountEnabled_ResponseParams_Data::CartHandler_GetDiscountEnabled_ResponseParams_Data()
: … { … }
bool CartHandler_SetDiscountEnabled_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_SetDiscountEnabled_Params_Data::CartHandler_SetDiscountEnabled_Params_Data()
: … { … }
bool CartHandler_PrepareForNavigation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CartHandler_PrepareForNavigation_Params_Data::CartHandler_PrepareForNavigation_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::chrome_cart::mojom::ConsentStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::chrome_cart::mojom::ConsentStatus value) { … }
}