#include "chrome/browser/lens/core/mojom/polygon.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 "chrome/browser/lens/core/mojom/polygon.mojom-params-data.h"
namespace lens {
namespace mojom {
NOINLINE static const char* Polygon_VertexOrderingToStringHelper(Polygon_VertexOrdering value) { … }
std::string Polygon_VertexOrderingToString(Polygon_VertexOrdering value) { … }
std::ostream& operator<<(std::ostream& os, Polygon_VertexOrdering value) { … }
NOINLINE static const char* Polygon_CoordinateTypeToStringHelper(Polygon_CoordinateType value) { … }
std::string Polygon_CoordinateTypeToString(Polygon_CoordinateType value) { … }
std::ostream& operator<<(std::ostream& os, Polygon_CoordinateType value) { … }
namespace internal {
bool Polygon_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Polygon_Data::Polygon_Data()
: … { … }
bool Vertex_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Vertex_Data::Vertex_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::lens::mojom::Polygon_VertexOrdering>::WriteIntoTrace(
perfetto::TracedValue context, ::lens::mojom::Polygon_VertexOrdering value) { … }
}
namespace perfetto {
void TraceFormatTraits<::lens::mojom::Polygon_CoordinateType>::WriteIntoTrace(
perfetto::TracedValue context, ::lens::mojom::Polygon_CoordinateType value) { … }
}