chromium/out/Default/gen/content/browser/private_aggregation/private_aggregation_internals.mojom.h

// content/browser/private_aggregation/private_aggregation_internals.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_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_MOJOM_H_
#define CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_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/browser/private_aggregation/private_aggregation_internals.mojom-features.h"  // IWYU pragma: export
#include "content/browser/private_aggregation/private_aggregation_internals.mojom-shared.h"  // IWYU pragma: export
#include "content/browser/private_aggregation/private_aggregation_internals.mojom-forward.h"  // IWYU pragma: export
#include "url/mojom/url.mojom.h"
#include "mojo/public/mojom/base/int128.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"


#include "content/browser/aggregation_service/aggregatable_report_request_storage_id.h"
#include "content/browser/private_aggregation/private_aggregation_internals_mojom_traits.h"
#include "content/common/content_export.h"




namespace private_aggregation_internals::mojom {

class ObserverProxy;

template <typename ImplRefTraits>
class ObserverStub;

class ObserverRequestValidator;


class CONTENT_EXPORT Observer
    : public ObserverInterfaceBase {};

class HandlerProxy;

template <typename ImplRefTraits>
class HandlerStub;

class HandlerRequestValidator;
class HandlerResponseValidator;


class CONTENT_EXPORT Handler
    : public HandlerInterfaceBase {};

class FactoryProxy;

template <typename ImplRefTraits>
class FactoryStub;

class FactoryRequestValidator;


class CONTENT_EXPORT Factory
    : public FactoryInterfaceBase {};



class CONTENT_EXPORT ObserverProxy
    : public Observer {};



class CONTENT_EXPORT HandlerProxy
    : public Handler {};



class CONTENT_EXPORT FactoryProxy
    : public Factory {};
class CONTENT_EXPORT ObserverStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<Observer>>
class ObserverStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  ObserverStub() = default;
  ~ObserverStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class CONTENT_EXPORT HandlerStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<Handler>>
class HandlerStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  HandlerStub() = default;
  ~HandlerStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class CONTENT_EXPORT FactoryStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<Factory>>
class FactoryStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  FactoryStub() = default;
  ~FactoryStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class CONTENT_EXPORT ObserverRequestValidator : public mojo::MessageReceiver {};
class CONTENT_EXPORT HandlerRequestValidator : public mojo::MessageReceiver {};
class CONTENT_EXPORT FactoryRequestValidator : public mojo::MessageReceiver {};
class CONTENT_EXPORT HandlerResponseValidator : public mojo::MessageReceiver {};





class CONTENT_EXPORT AggregatableReportRequestID {};

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

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

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

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










class CONTENT_EXPORT AggregatableHistogramContribution {};

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

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

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

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





class CONTENT_EXPORT WebUIAggregatableReport {};

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

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

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

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

template <typename StructPtrType>
AggregatableReportRequestIDPtr AggregatableReportRequestID::Clone() const {}

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

template <typename T, AggregatableReportRequestID::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
AggregatableHistogramContributionPtr AggregatableHistogramContribution::Clone() const {}

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

template <typename T, AggregatableHistogramContribution::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WebUIAggregatableReportPtr WebUIAggregatableReport::Clone() const {}

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

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


}  // private_aggregation_internals::mojom

namespace mojo {


template <>
struct CONTENT_EXPORT StructTraits<::private_aggregation_internals::mojom::AggregatableReportRequestID::DataView,
                                         ::private_aggregation_internals::mojom::AggregatableReportRequestIDPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::private_aggregation_internals::mojom::AggregatableHistogramContribution::DataView,
                                         ::private_aggregation_internals::mojom::AggregatableHistogramContributionPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::private_aggregation_internals::mojom::WebUIAggregatableReport::DataView,
                                         ::private_aggregation_internals::mojom::WebUIAggregatableReportPtr> {};

}  // namespace mojo

#endif  // CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_MOJOM_H_