chromium/out/Default/gen/components/services/font_data/public/mojom/font_data_service.mojom.h

// components/services/font_data/public/mojom/font_data_service.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_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_H_
#define COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_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/services/font_data/public/mojom/font_data_service.mojom-features.h"  // IWYU pragma: export
#include "components/services/font_data/public/mojom/font_data_service.mojom-shared.h"  // IWYU pragma: export
#include "components/services/font_data/public/mojom/font_data_service.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/shared_memory.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 font_data_service::mojom {

class FontDataServiceProxy;

template <typename ImplRefTraits>
class FontDataServiceStub;

class FontDataServiceRequestValidator;
class FontDataServiceResponseValidator;


class FontDataService
    : public FontDataServiceInterfaceBase {};



class  FontDataServiceProxy
    : public FontDataService {};
class  FontDataServiceStubDispatch {};

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

  FontDataServiceStub() = default;
  ~FontDataServiceStub() 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  FontDataServiceRequestValidator : public mojo::MessageReceiver {};
class  FontDataServiceResponseValidator : public mojo::MessageReceiver {};





class  TypefaceStyle {};

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

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

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

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





class  Coordinate {};

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

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

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

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











class  VariationPosition {};

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

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

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

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





class  MatchFamilyNameResult {};

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

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

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

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

template <typename StructPtrType>
TypefaceStylePtr TypefaceStyle::Clone() const {}

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

template <typename T, TypefaceStyle::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
CoordinatePtr Coordinate::Clone() const {}

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

template <typename T, Coordinate::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
VariationPositionPtr VariationPosition::Clone() const {}

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

template <typename T, VariationPosition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
MatchFamilyNameResultPtr MatchFamilyNameResult::Clone() const {}

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

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


}  // font_data_service::mojom

namespace mojo {


template <>
struct  StructTraits<::font_data_service::mojom::TypefaceStyle::DataView,
                                         ::font_data_service::mojom::TypefaceStylePtr> {};


template <>
struct  StructTraits<::font_data_service::mojom::Coordinate::DataView,
                                         ::font_data_service::mojom::CoordinatePtr> {};


template <>
struct  StructTraits<::font_data_service::mojom::VariationPosition::DataView,
                                         ::font_data_service::mojom::VariationPositionPtr> {};


template <>
struct  StructTraits<::font_data_service::mojom::MatchFamilyNameResult::DataView,
                                         ::font_data_service::mojom::MatchFamilyNameResultPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_H_