#include "services/image_annotation/public/mojom/image_annotation.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/image_annotation/public/mojom/image_annotation.mojom-params-data.h"
namespace image_annotation {
namespace mojom {
NOINLINE static const char* AnnotateImageErrorToStringHelper(AnnotateImageError value) { … }
std::string AnnotateImageErrorToString(AnnotateImageError value) { … }
std::ostream& operator<<(std::ostream& os, AnnotateImageError value) { … }
NOINLINE static const char* AnnotationTypeToStringHelper(AnnotationType value) { … }
std::string AnnotationTypeToString(AnnotationType value) { … }
std::ostream& operator<<(std::ostream& os, AnnotationType value) { … }
namespace internal {
bool AnnotateImageResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool Annotation_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Annotation_Data::Annotation_Data()
: … { … }
bool ImageProcessor_GetJpgImageData_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageProcessor_GetJpgImageData_Params_Data::ImageProcessor_GetJpgImageData_Params_Data()
: … { … }
bool ImageProcessor_GetJpgImageData_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageProcessor_GetJpgImageData_ResponseParams_Data::ImageProcessor_GetJpgImageData_ResponseParams_Data()
: … { … }
bool Annotator_AnnotateImage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Annotator_AnnotateImage_Params_Data::Annotator_AnnotateImage_Params_Data()
: … { … }
bool Annotator_AnnotateImage_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Annotator_AnnotateImage_ResponseParams_Data::Annotator_AnnotateImage_ResponseParams_Data()
: … { … }
bool ImageAnnotationService_BindAnnotator_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageAnnotationService_BindAnnotator_Params_Data::ImageAnnotationService_BindAnnotator_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::image_annotation::mojom::AnnotateImageError>::WriteIntoTrace(
perfetto::TracedValue context, ::image_annotation::mojom::AnnotateImageError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::image_annotation::mojom::AnnotationType>::WriteIntoTrace(
perfetto::TracedValue context, ::image_annotation::mojom::AnnotationType value) { … }
}