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

// components/services/font_data/public/mojom/font_data_service.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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_SHARED_H_
#define COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "components/services/font_data/public/mojom/font_data_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/shared_memory.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace font_data_service::mojom {
class TypefaceStyleDataView;

class CoordinateDataView;

class VariationPositionDataView;

class MatchFamilyNameResultDataView;



}  // font_data_service::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::font_data_service::mojom::TypefaceStyleDataView> {};

template <>
struct MojomTypeTraits<::font_data_service::mojom::CoordinateDataView> {};

template <>
struct MojomTypeTraits<::font_data_service::mojom::VariationPositionDataView> {};

template <>
struct MojomTypeTraits<::font_data_service::mojom::MatchFamilyNameResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace font_data_service::mojom {


enum class TypefaceSlant : int32_t {};

 std::ostream& operator<<(std::ostream& os, TypefaceSlant value);
inline bool IsKnownEnumValue(TypefaceSlant value) {}
// Interface base classes. They are used for type safety check.
class FontDataServiceInterfaceBase {};

FontDataServicePtrDataView;
FontDataServiceRequestDataView;
FontDataServiceAssociatedPtrInfoDataView;
FontDataServiceAssociatedRequestDataView;


class TypefaceStyleDataView {};


class CoordinateDataView {};


class VariationPositionDataView {};


class MatchFamilyNameResultDataView {};


}  // font_data_service::mojom

namespace std {

template <>
struct hash<::font_data_service::mojom::TypefaceSlant>
    : public mojo::internal::EnumHashImpl<::font_data_service::mojom::TypefaceSlant> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::font_data_service::mojom::TypefaceSlant, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::font_data_service::mojom::TypefaceStyleDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::font_data_service::mojom::CoordinateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::font_data_service::mojom::VariationPositionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::font_data_service::mojom::MatchFamilyNameResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace font_data_service::mojom {





inline void VariationPositionDataView::GetCoordinatesDataView(
    mojo::ArrayDataView<CoordinateDataView>* output) {}


inline void MatchFamilyNameResultDataView::GetRegionDataView(
    ::mojo_base::mojom::ReadOnlySharedMemoryRegionDataView* output) {}
inline void MatchFamilyNameResultDataView::GetVariationPositionDataView(
    VariationPositionDataView* output) {}



}  // font_data_service::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::font_data_service::mojom::TypefaceSlant> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_SHARED_H_