chromium/out/Default/gen/content/services/auction_worklet/public/mojom/private_aggregation_request.mojom.h

// content/services/auction_worklet/public/mojom/private_aggregation_request.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 CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_PRIVATE_AGGREGATION_REQUEST_MOJOM_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_PRIVATE_AGGREGATION_REQUEST_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 "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-features.h"  // IWYU pragma: export
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-shared.h"  // IWYU pragma: export
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/int128.mojom.h"
#include "third_party/blink/public/mojom/aggregation_service/aggregatable_report.mojom.h"
#include "third_party/blink/public/mojom/private_aggregation/private_aggregation_host.mojom.h"
#include <string>
#include <vector>




#include "content/common/content_export.h"




namespace auction_worklet::mojom {







class CONTENT_EXPORT SignalValue {};

// 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, SignalValue::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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







class CONTENT_EXPORT ForEventSignalBucket {};



class CONTENT_EXPORT ForEventSignalValue {};



class CONTENT_EXPORT EventType {};



class CONTENT_EXPORT AggregatableReportContribution {};





class CONTENT_EXPORT BucketOffset {};

// 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, BucketOffset::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SignalBucket {};

// 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, SignalBucket::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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






class CONTENT_EXPORT AggregatableReportForEventContribution {};

// 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, AggregatableReportForEventContribution::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT PrivateAggregationRequest {};

// 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, PrivateAggregationRequest::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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

template <typename UnionPtrType>
ForEventSignalBucketPtr ForEventSignalBucket::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, ForEventSignalBucket>::value>::type*>
bool ForEventSignalBucket::Equals(const T& other) const {}
template <typename UnionPtrType>
ForEventSignalValuePtr ForEventSignalValue::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, ForEventSignalValue>::value>::type*>
bool ForEventSignalValue::Equals(const T& other) const {}
template <typename UnionPtrType>
EventTypePtr EventType::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, EventType>::value>::type*>
bool EventType::Equals(const T& other) const {}
template <typename UnionPtrType>
AggregatableReportContributionPtr AggregatableReportContribution::Clone() const {}

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

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

template <typename T, BucketOffset::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SignalBucketPtr SignalBucket::Clone() const {}

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

template <typename T, SignalBucket::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SignalValuePtr SignalValue::Clone() const {}

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

template <typename T, SignalValue::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
AggregatableReportForEventContributionPtr AggregatableReportForEventContribution::Clone() const {}

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

template <typename T, AggregatableReportForEventContribution::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PrivateAggregationRequestPtr PrivateAggregationRequest::Clone() const {}

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

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


}  // auction_worklet::mojom

namespace mojo {


template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::BucketOffset::DataView,
                                         ::auction_worklet::mojom::BucketOffsetPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::SignalBucket::DataView,
                                         ::auction_worklet::mojom::SignalBucketPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::SignalValue::DataView,
                                         ::auction_worklet::mojom::SignalValuePtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::AggregatableReportForEventContribution::DataView,
                                         ::auction_worklet::mojom::AggregatableReportForEventContributionPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::PrivateAggregationRequest::DataView,
                                         ::auction_worklet::mojom::PrivateAggregationRequestPtr> {};


template <>
struct CONTENT_EXPORT UnionTraits<::auction_worklet::mojom::ForEventSignalBucket::DataView,
                                        ::auction_worklet::mojom::ForEventSignalBucketPtr> {};


template <>
struct CONTENT_EXPORT UnionTraits<::auction_worklet::mojom::ForEventSignalValue::DataView,
                                        ::auction_worklet::mojom::ForEventSignalValuePtr> {};


template <>
struct CONTENT_EXPORT UnionTraits<::auction_worklet::mojom::EventType::DataView,
                                        ::auction_worklet::mojom::EventTypePtr> {};


template <>
struct CONTENT_EXPORT UnionTraits<::auction_worklet::mojom::AggregatableReportContribution::DataView,
                                        ::auction_worklet::mojom::AggregatableReportContributionPtr> {};

}  // namespace mojo

#endif  // CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_PRIVATE_AGGREGATION_REQUEST_MOJOM_H_