#include "services/webnn/public/mojom/webnn_buffer.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/webnn/public/mojom/webnn_buffer.mojom-params-data.h"
namespace webnn {
namespace mojom {
namespace internal {
bool ReadBufferResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool BufferUsage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BufferUsage_Data::BufferUsage_Data()
: … { … }
bool BufferInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BufferInfo_Data::BufferInfo_Data()
: … { … }
bool WebNNBuffer_ReadBuffer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebNNBuffer_ReadBuffer_Params_Data::WebNNBuffer_ReadBuffer_Params_Data()
: … { … }
bool WebNNBuffer_ReadBuffer_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebNNBuffer_ReadBuffer_ResponseParams_Data::WebNNBuffer_ReadBuffer_ResponseParams_Data()
: … { … }
bool WebNNBuffer_WriteBuffer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebNNBuffer_WriteBuffer_Params_Data::WebNNBuffer_WriteBuffer_Params_Data()
: … { … }
}
}
}