chromium/out/Default/gen/components/browsing_topics/mojom/browsing_topics_internals.mojom.h

// components/browsing_topics/mojom/browsing_topics_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 COMPONENTS_BROWSING_TOPICS_MOJOM_BROWSING_TOPICS_INTERNALS_MOJOM_H_
#define COMPONENTS_BROWSING_TOPICS_MOJOM_BROWSING_TOPICS_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 "components/browsing_topics/mojom/browsing_topics_internals.mojom-features.h"  // IWYU pragma: export
#include "components/browsing_topics/mojom/browsing_topics_internals.mojom-shared.h"  // IWYU pragma: export
#include "components/browsing_topics/mojom/browsing_topics_internals.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/string16.mojom.h"
#include "mojo/public/mojom/base/time.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"






namespace browsing_topics::mojom {

class PageHandlerProxy;

template <typename ImplRefTraits>
class PageHandlerStub;

class PageHandlerRequestValidator;
class PageHandlerResponseValidator;


class PageHandler
    : public PageHandlerInterfaceBase {};



class  PageHandlerProxy
    : public PageHandler {};
class  PageHandlerStubDispatch {};

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

  PageHandlerStub() = default;
  ~PageHandlerStub() 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  PageHandlerRequestValidator : public mojo::MessageReceiver {};
class  PageHandlerResponseValidator : public mojo::MessageReceiver {};









class  WebUIModelInfo {};

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

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

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

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





class  WebUIGetBrowsingTopicsStateResult {};



class  WebUIGetModelInfoResult {};





class  WebUIBrowsingTopicsConfiguration {};

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

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

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

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





class  WebUITopic {};

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

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

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

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





class  WebUIEpoch {};

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

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

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

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





class  WebUIBrowsingTopicsState {};

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

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

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

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


template <typename UnionPtrType>
WebUIGetBrowsingTopicsStateResultPtr WebUIGetBrowsingTopicsStateResult::Clone() const {}

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

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

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

template <typename T, WebUIBrowsingTopicsConfiguration::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WebUITopicPtr WebUITopic::Clone() const {}

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

template <typename T, WebUITopic::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WebUIEpochPtr WebUIEpoch::Clone() const {}

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

template <typename T, WebUIEpoch::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WebUIBrowsingTopicsStatePtr WebUIBrowsingTopicsState::Clone() const {}

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

template <typename T, WebUIBrowsingTopicsState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WebUIModelInfoPtr WebUIModelInfo::Clone() const {}

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

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


}  // browsing_topics::mojom

namespace mojo {


template <>
struct  StructTraits<::browsing_topics::mojom::WebUIBrowsingTopicsConfiguration::DataView,
                                         ::browsing_topics::mojom::WebUIBrowsingTopicsConfigurationPtr> {};


template <>
struct  StructTraits<::browsing_topics::mojom::WebUITopic::DataView,
                                         ::browsing_topics::mojom::WebUITopicPtr> {};


template <>
struct  StructTraits<::browsing_topics::mojom::WebUIEpoch::DataView,
                                         ::browsing_topics::mojom::WebUIEpochPtr> {};


template <>
struct  StructTraits<::browsing_topics::mojom::WebUIBrowsingTopicsState::DataView,
                                         ::browsing_topics::mojom::WebUIBrowsingTopicsStatePtr> {};


template <>
struct  StructTraits<::browsing_topics::mojom::WebUIModelInfo::DataView,
                                         ::browsing_topics::mojom::WebUIModelInfoPtr> {};


template <>
struct  UnionTraits<::browsing_topics::mojom::WebUIGetBrowsingTopicsStateResult::DataView,
                                        ::browsing_topics::mojom::WebUIGetBrowsingTopicsStateResultPtr> {};


template <>
struct  UnionTraits<::browsing_topics::mojom::WebUIGetModelInfoResult::DataView,
                                        ::browsing_topics::mojom::WebUIGetModelInfoResultPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_BROWSING_TOPICS_MOJOM_BROWSING_TOPICS_INTERNALS_MOJOM_H_