#include "services/data_decoder/public/mojom/image_decoder.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/data_decoder/public/mojom/image_decoder.mojom-params-data.h"
namespace data_decoder {
namespace mojom {
NOINLINE static const char* ImageCodecToStringHelper(ImageCodec value) { … }
std::string ImageCodecToString(ImageCodec value) { … }
std::ostream& operator<<(std::ostream& os, ImageCodec value) { … }
namespace internal {
bool AnimationFrame_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AnimationFrame_Data::AnimationFrame_Data()
: … { … }
bool ImageDecoder_DecodeImage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageDecoder_DecodeImage_Params_Data::ImageDecoder_DecodeImage_Params_Data()
: … { … }
bool ImageDecoder_DecodeImage_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageDecoder_DecodeImage_ResponseParams_Data::ImageDecoder_DecodeImage_ResponseParams_Data()
: … { … }
bool ImageDecoder_DecodeAnimation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageDecoder_DecodeAnimation_Params_Data::ImageDecoder_DecodeAnimation_Params_Data()
: … { … }
bool ImageDecoder_DecodeAnimation_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageDecoder_DecodeAnimation_ResponseParams_Data::ImageDecoder_DecodeAnimation_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::data_decoder::mojom::ImageCodec>::WriteIntoTrace(
perfetto::TracedValue context, ::data_decoder::mojom::ImageCodec value) { … }
}