chromium/out/Default/gen/services/metrics/public/mojom/ukm_interface.mojom.h

// services/metrics/public/mojom/ukm_interface.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 SERVICES_METRICS_PUBLIC_MOJOM_UKM_INTERFACE_MOJOM_H_
#define SERVICES_METRICS_PUBLIC_MOJOM_UKM_INTERFACE_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 "services/metrics/public/mojom/ukm_interface.mojom-features.h"  // IWYU pragma: export
#include "services/metrics/public/mojom/ukm_interface.mojom-shared.h"  // IWYU pragma: export
#include "services/metrics/public/mojom/ukm_interface.mojom-forward.h"  // IWYU pragma: export
#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"






namespace ukm::mojom {

class SingularUkmInterfaceProxy;

template <typename ImplRefTraits>
class SingularUkmInterfaceStub;

class SingularUkmInterfaceRequestValidator;


class SingularUkmInterface
    : public SingularUkmInterfaceInterfaceBase {};

class UkmRecorderClientInterfaceProxy;

template <typename ImplRefTraits>
class UkmRecorderClientInterfaceStub;

class UkmRecorderClientInterfaceRequestValidator;


class UkmRecorderClientInterface
    : public UkmRecorderClientInterfaceInterfaceBase {};

class UkmRecorderInterfaceProxy;

template <typename ImplRefTraits>
class UkmRecorderInterfaceStub;

class UkmRecorderInterfaceRequestValidator;


class UkmRecorderInterface
    : public UkmRecorderInterfaceInterfaceBase {};

class UkmRecorderFactoryProxy;

template <typename ImplRefTraits>
class UkmRecorderFactoryStub;

class UkmRecorderFactoryRequestValidator;


class UkmRecorderFactory
    : public UkmRecorderFactoryInterfaceBase {};



class  SingularUkmInterfaceProxy
    : public SingularUkmInterface {};



class  UkmRecorderClientInterfaceProxy
    : public UkmRecorderClientInterface {};



class  UkmRecorderInterfaceProxy
    : public UkmRecorderInterface {};



class  UkmRecorderFactoryProxy
    : public UkmRecorderFactory {};
class  SingularUkmInterfaceStubDispatch {};

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

  SingularUkmInterfaceStub() = default;
  ~SingularUkmInterfaceStub() 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  UkmRecorderClientInterfaceStubDispatch {};

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

  UkmRecorderClientInterfaceStub() = default;
  ~UkmRecorderClientInterfaceStub() 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  UkmRecorderInterfaceStubDispatch {};

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

  UkmRecorderInterfaceStub() = default;
  ~UkmRecorderInterfaceStub() 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  UkmRecorderFactoryStubDispatch {};

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

  UkmRecorderFactoryStub() = default;
  ~UkmRecorderFactoryStub() 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  SingularUkmInterfaceRequestValidator : public mojo::MessageReceiver {};
class  UkmRecorderClientInterfaceRequestValidator : public mojo::MessageReceiver {};
class  UkmRecorderInterfaceRequestValidator : public mojo::MessageReceiver {};
class  UkmRecorderFactoryRequestValidator : public mojo::MessageReceiver {};









class  UkmEntry {};

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

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

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

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





class  UkmRecorderParameters {};

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

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

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

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

template <typename StructPtrType>
UkmEntryPtr UkmEntry::Clone() const {}

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

template <typename T, UkmEntry::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
UkmRecorderParametersPtr UkmRecorderParameters::Clone() const {}

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

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


}  // ukm::mojom

namespace mojo {


template <>
struct  StructTraits<::ukm::mojom::UkmEntry::DataView,
                                         ::ukm::mojom::UkmEntryPtr> {};


template <>
struct  StructTraits<::ukm::mojom::UkmRecorderParameters::DataView,
                                         ::ukm::mojom::UkmRecorderParametersPtr> {};

}  // namespace mojo

#endif  // SERVICES_METRICS_PUBLIC_MOJOM_UKM_INTERFACE_MOJOM_H_