chromium/out/Default/gen/services/image_annotation/public/mojom/image_annotation.mojom-shared.h

// services/image_annotation/public/mojom/image_annotation.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 SERVICES_IMAGE_ANNOTATION_PUBLIC_MOJOM_IMAGE_ANNOTATION_MOJOM_SHARED_H_
#define SERVICES_IMAGE_ANNOTATION_PUBLIC_MOJOM_IMAGE_ANNOTATION_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/image_annotation/public/mojom/image_annotation.mojom-shared-internal.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace image_annotation::mojom {
class AnnotationDataView;

class AnnotateImageResultDataView;


}  // image_annotation::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::image_annotation::mojom::AnnotationDataView> {};

template <>
struct MojomTypeTraits<::image_annotation::mojom::AnnotateImageResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace image_annotation::mojom {


enum class AnnotateImageError : int32_t {};

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


enum class AnnotationType : int32_t {};

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

ImageProcessorPtrDataView;
ImageProcessorRequestDataView;
ImageProcessorAssociatedPtrInfoDataView;
ImageProcessorAssociatedRequestDataView;
class AnnotatorInterfaceBase {};

AnnotatorPtrDataView;
AnnotatorRequestDataView;
AnnotatorAssociatedPtrInfoDataView;
AnnotatorAssociatedRequestDataView;
class ImageAnnotationServiceInterfaceBase {};

ImageAnnotationServicePtrDataView;
ImageAnnotationServiceRequestDataView;
ImageAnnotationServiceAssociatedPtrInfoDataView;
ImageAnnotationServiceAssociatedRequestDataView;


class AnnotationDataView {};


class AnnotateImageResultDataView {};



}  // image_annotation::mojom

namespace std {

template <>
struct hash<::image_annotation::mojom::AnnotateImageError>
    : public mojo::internal::EnumHashImpl<::image_annotation::mojom::AnnotateImageError> {};

template <>
struct hash<::image_annotation::mojom::AnnotationType>
    : public mojo::internal::EnumHashImpl<::image_annotation::mojom::AnnotationType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::image_annotation::mojom::AnnotateImageError, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::image_annotation::mojom::AnnotationType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::image_annotation::mojom::AnnotationDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::image_annotation::mojom::AnnotateImageResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace image_annotation::mojom {

inline void AnnotationDataView::GetTextDataView(
    mojo::StringDataView* output) {}


inline void AnnotateImageResultDataView::GetAnnotationsDataView(
    mojo::ArrayDataView<AnnotationDataView>* output) const {}


}  // image_annotation::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::image_annotation::mojom::AnnotateImageError> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::image_annotation::mojom::AnnotationType> {};

} // namespace perfetto

#endif  // SERVICES_IMAGE_ANNOTATION_PUBLIC_MOJOM_IMAGE_ANNOTATION_MOJOM_SHARED_H_