#ifndef SERVICES_SHAPE_DETECTION_PUBLIC_MOJOM_BARCODEDETECTION_MOJOM_SHARED_H_
#define SERVICES_SHAPE_DETECTION_PUBLIC_MOJOM_BARCODEDETECTION_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/barcodedetection.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 BarcodeDetectionResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::shape_detection::mojom::BarcodeDetectionResultDataView> { … };
}
}
namespace shape_detection::mojom {
enum class BarcodeFormat : int32_t { … };
std::ostream& operator<<(std::ostream& os, BarcodeFormat value);
inline bool IsKnownEnumValue(BarcodeFormat value) { … }
class BarcodeDetectionInterfaceBase { … };
BarcodeDetectionPtrDataView;
BarcodeDetectionRequestDataView;
BarcodeDetectionAssociatedPtrInfoDataView;
BarcodeDetectionAssociatedRequestDataView;
class BarcodeDetectionResultDataView { … };
}
namespace std {
template <>
struct hash<::shape_detection::mojom::BarcodeFormat>
: public mojo::internal::EnumHashImpl<::shape_detection::mojom::BarcodeFormat> { … };
}
namespace mojo {
namespace internal {
Serializer< ::shape_detection::mojom::BarcodeFormat, MaybeConstUserType>;
}
namespace internal {
Serializer< ::shape_detection::mojom::BarcodeDetectionResultDataView, MaybeConstUserType>;
}
}
namespace shape_detection::mojom {
inline void BarcodeDetectionResultDataView::GetRawValueDataView(
mojo::StringDataView* output) { … }
inline void BarcodeDetectionResultDataView::GetBoundingBoxDataView(
::gfx::mojom::RectFDataView* output) { … }
inline void BarcodeDetectionResultDataView::GetCornerPointsDataView(
mojo::ArrayDataView<::gfx::mojom::PointFDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::shape_detection::mojom::BarcodeFormat> { … };
}
#endif