chromium/out/Default/gen/components/attribution_reporting/registration_header_error.mojom.h

// components/attribution_reporting/registration_header_error.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "components/attribution_reporting/registration_header_error.mojom-features.h"  // IWYU pragma: export
#include "components/attribution_reporting/registration_header_error.mojom-shared.h"  // IWYU pragma: export
#include "components/attribution_reporting/registration_header_error.mojom-forward.h"  // IWYU pragma: export
#include "components/attribution_reporting/os_registration_error.mojom-forward.h"
#include "components/attribution_reporting/source_registration_error.mojom-forward.h"
#include "components/attribution_reporting/trigger_registration_error.mojom-forward.h"
#include <string>
#include <vector>




#include "components/attribution_reporting/registration_header_error_mojom_traits.h"




namespace attribution_reporting::mojom {






class  RegistrationHeaderErrorDetails {};





class  RegistrationHeaderError {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, RegistrationHeaderError::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, RegistrationHeaderError::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, RegistrationHeaderError::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, RegistrationHeaderError::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename UnionPtrType>
RegistrationHeaderErrorDetailsPtr RegistrationHeaderErrorDetails::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, RegistrationHeaderErrorDetails>::value>::type*>
bool RegistrationHeaderErrorDetails::Equals(const T& other) const {}
template <typename StructPtrType>
RegistrationHeaderErrorPtr RegistrationHeaderError::Clone() const {}

template <typename T, RegistrationHeaderError::EnableIfSame<T>*>
bool RegistrationHeaderError::Equals(const T& other_struct) const {}

template <typename T, RegistrationHeaderError::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // attribution_reporting::mojom

namespace mojo {


template <>
struct  StructTraits<::attribution_reporting::mojom::RegistrationHeaderError::DataView,
                                         ::attribution_reporting::mojom::RegistrationHeaderErrorPtr> {};


template <>
struct  UnionTraits<::attribution_reporting::mojom::RegistrationHeaderErrorDetails::DataView,
                                        ::attribution_reporting::mojom::RegistrationHeaderErrorDetailsPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_H_