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

// components/attribution_reporting/registration_header_error.mojom-blink.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_BLINK_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_BLINK_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-blink-forward.h"  // IWYU pragma: export
#include "components/attribution_reporting/os_registration_error.mojom-blink-forward.h"
#include "components/attribution_reporting/source_registration_error.mojom-blink-forward.h"
#include "components/attribution_reporting/trigger_registration_error.mojom-blink-forward.h"

#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"




#include "components/attribution_reporting/registration_header_error_mojom_traits.h"
#include "third_party/blink/renderer/platform/platform_export.h"




namespace attribution_reporting::mojom::blink {






class PLATFORM_EXPORT RegistrationHeaderErrorDetails {};





class PLATFORM_EXPORT 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::blink

namespace mojo {


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


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

}  // namespace mojo

#endif  // COMPONENTS_ATTRIBUTION_REPORTING_REGISTRATION_HEADER_ERROR_MOJOM_BLINK_H_