#ifndef SERVICES_SHAPE_DETECTION_PUBLIC_MOJOM_FACEDETECTION_MOJOM_SHARED_H_
#define SERVICES_SHAPE_DETECTION_PUBLIC_MOJOM_FACEDETECTION_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 "services/shape_detection/public/mojom/facedetection.mojom-shared-internal.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace shape_detection::mojom {
class LandmarkDataView;
class FaceDetectionResultDataView;
class FaceDetectorOptionsDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::shape_detection::mojom::LandmarkDataView> { … };
template <>
struct MojomTypeTraits<::shape_detection::mojom::FaceDetectionResultDataView> { … };
template <>
struct MojomTypeTraits<::shape_detection::mojom::FaceDetectorOptionsDataView> { … };
}
}
namespace shape_detection::mojom {
enum class LandmarkType : int32_t { … };
std::ostream& operator<<(std::ostream& os, LandmarkType value);
inline bool IsKnownEnumValue(LandmarkType value) { … }
class FaceDetectionInterfaceBase { … };
FaceDetectionPtrDataView;
FaceDetectionRequestDataView;
FaceDetectionAssociatedPtrInfoDataView;
FaceDetectionAssociatedRequestDataView;
class LandmarkDataView { … };
class FaceDetectionResultDataView { … };
class FaceDetectorOptionsDataView { … };
}
namespace std {
template <>
struct hash<::shape_detection::mojom::LandmarkType>
: public mojo::internal::EnumHashImpl<::shape_detection::mojom::LandmarkType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::shape_detection::mojom::LandmarkType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::shape_detection::mojom::LandmarkDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::shape_detection::mojom::FaceDetectionResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::shape_detection::mojom::FaceDetectorOptionsDataView, MaybeConstUserType>;
}
}
namespace shape_detection::mojom {
inline void LandmarkDataView::GetLocationsDataView(
mojo::ArrayDataView<::gfx::mojom::PointFDataView>* output) { … }
inline void FaceDetectionResultDataView::GetBoundingBoxDataView(
::gfx::mojom::RectFDataView* output) { … }
inline void FaceDetectionResultDataView::GetLandmarksDataView(
mojo::ArrayDataView<LandmarkDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::shape_detection::mojom::LandmarkType> { … };
}
#endif