#include "services/shape_detection/public/mojom/barcodedetection.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/shape_detection/public/mojom/barcodedetection.mojom-params-data.h"
namespace shape_detection {
namespace mojom {
NOINLINE static const char* BarcodeFormatToStringHelper(BarcodeFormat value) { … }
std::string BarcodeFormatToString(BarcodeFormat value) { … }
std::ostream& operator<<(std::ostream& os, BarcodeFormat value) { … }
namespace internal {
bool BarcodeDetectionResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BarcodeDetectionResult_Data::BarcodeDetectionResult_Data()
: … { … }
bool BarcodeDetection_Detect_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BarcodeDetection_Detect_Params_Data::BarcodeDetection_Detect_Params_Data()
: … { … }
bool BarcodeDetection_Detect_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BarcodeDetection_Detect_ResponseParams_Data::BarcodeDetection_Detect_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::shape_detection::mojom::BarcodeFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::shape_detection::mojom::BarcodeFormat value) { … }
}