#ifndef COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_TRAITS_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_TRAITS_H_
#include <string>
#include "base/component_export.h"
#include "components/attribution_reporting/os_registration_error.mojom-forward.h"
#include "components/attribution_reporting/registration_header_error.h"
#include "components/attribution_reporting/registration_header_error.mojom-shared.h"
#include "components/attribution_reporting/source_registration_error.mojom-forward.h"
#include "components/attribution_reporting/trigger_registration_error.mojom-forward.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/abseil-cpp/absl/types/variant.h"
namespace mojo {
template <>
struct COMPONENT_EXPORT(
ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_TRAITS)
StructTraits<attribution_reporting::mojom::RegistrationHeaderErrorDataView,
attribution_reporting::RegistrationHeaderError> { … };
template <>
struct COMPONENT_EXPORT(
ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_TRAITS)
UnionTraits<
attribution_reporting::mojom::RegistrationHeaderErrorDetailsDataView,
attribution_reporting::RegistrationHeaderErrorDetails> { … };
}
#endif