chromium/out/Default/gen/components/services/font/public/mojom/font_service.mojom-shared.h

// components/services/font/public/mojom/font_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_PUBLIC_MOJOM_FONT_SERVICE_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_FONT_PUBLIC_MOJOM_FONT_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/public/mojom/font_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/read_only_file.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace font_service::mojom {
class TypefaceStyleDataView;

class FontIdentityDataView;

class FontRenderStyleDataView;



}  // font_service::mojom

namespace mojo {
namespace internal {

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

template <>
struct MojomTypeTraits<::font_service::mojom::FontIdentityDataView> {};

template <>
struct MojomTypeTraits<::font_service::mojom::FontRenderStyleDataView> {};

}  // namespace internal
}  // namespace mojo


namespace font_service::mojom {


enum class TypefaceSlant : int32_t {};

 std::ostream& operator<<(std::ostream& os, TypefaceSlant value);
inline bool IsKnownEnumValue(TypefaceSlant value) {}


enum class RenderStyleSwitch : int32_t {};

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

FontServicePtrDataView;
FontServiceRequestDataView;
FontServiceAssociatedPtrInfoDataView;
FontServiceAssociatedRequestDataView;


class TypefaceStyleDataView {};


class FontIdentityDataView {};


class FontRenderStyleDataView {};


}  // font_service::mojom

namespace std {

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

template <>
struct hash<::font_service::mojom::RenderStyleSwitch>
    : public mojo::internal::EnumHashImpl<::font_service::mojom::RenderStyleSwitch> {};

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

Serializer< ::font_service::mojom::RenderStyleSwitch, MaybeConstUserType>;

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

Serializer< ::font_service::mojom::FontIdentityDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::font_service::mojom::FontRenderStyleDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace font_service::mojom {



inline void FontIdentityDataView::GetFilepathDataView(
    ::mojo_base::mojom::FilePathDataView* output) {}





}  // font_service::mojom

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::font_service::mojom::RenderStyleSwitch> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_FONT_PUBLIC_MOJOM_FONT_SERVICE_MOJOM_SHARED_H_