chromium/out/Default/gen/ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom.h

// ui/webui/resources/cr_components/history_embeddings/history_embeddings.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 UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_MOJOM_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_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 "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-features.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-shared.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/time.mojom.h"
#include "url/mojom/url.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 history_embeddings::mojom {

class PageHandlerProxy;

template <typename ImplRefTraits>
class PageHandlerStub;

class PageHandlerRequestValidator;


class PageHandler
    : public PageHandlerInterfaceBase {};

class PageProxy;

template <typename ImplRefTraits>
class PageStub;

class PageRequestValidator;


class Page
    : public PageInterfaceBase {};



class  PageHandlerProxy
    : public PageHandler {};



class  PageProxy
    : public Page {};
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  PageStubDispatch {};

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

  PageStub() = default;
  ~PageStub() 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  PageRequestValidator : public mojo::MessageReceiver {};











class  AnswerData {};

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

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

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

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





class  SearchResultItem {};

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

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

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

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





class  SearchQuery {};

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

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

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

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





class  SearchResult {};

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

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

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

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

template <typename StructPtrType>
AnswerDataPtr AnswerData::Clone() const {}

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

template <typename T, AnswerData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SearchResultItemPtr SearchResultItem::Clone() const {}

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

template <typename T, SearchResultItem::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SearchQueryPtr SearchQuery::Clone() const {}

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

template <typename T, SearchQuery::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SearchResultPtr SearchResult::Clone() const {}

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

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


}  // history_embeddings::mojom

namespace mojo {


template <>
struct  StructTraits<::history_embeddings::mojom::AnswerData::DataView,
                                         ::history_embeddings::mojom::AnswerDataPtr> {};


template <>
struct  StructTraits<::history_embeddings::mojom::SearchResultItem::DataView,
                                         ::history_embeddings::mojom::SearchResultItemPtr> {};


template <>
struct  StructTraits<::history_embeddings::mojom::SearchQuery::DataView,
                                         ::history_embeddings::mojom::SearchQueryPtr> {};


template <>
struct  StructTraits<::history_embeddings::mojom::SearchResult::DataView,
                                         ::history_embeddings::mojom::SearchResultPtr> {};

}  // namespace mojo

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_MOJOM_H_