#include "services/webnn/public/mojom/webnn_error.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_error.mojom-params-data.h"
namespace webnn {
namespace mojom {
NOINLINE static const char* Error_CodeToStringHelper(Error_Code value) { … }
std::string Error_CodeToString(Error_Code value) { … }
std::ostream& operator<<(std::ostream& os, Error_Code value) { … }
namespace internal {
bool Error_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Error_Data::Error_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::webnn::mojom::Error_Code>::WriteIntoTrace(
perfetto::TracedValue context, ::webnn::mojom::Error_Code value) { … }
}