#ifndef SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_CONTEXT_MOJOM_SHARED_H_
#define SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_CONTEXT_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "services/webnn/public/mojom/webnn_context.mojom-shared-internal.h"
#include "services/webnn/public/mojom/features.mojom-shared.h"
#include "services/webnn/public/mojom/webnn_buffer.mojom-shared.h"
#include "services/webnn/public/mojom/webnn_error.mojom-shared.h"
#include "services/webnn/public/mojom/webnn_graph_builder.mojom-shared.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace webnn::mojom {
class CreateBufferSuccessDataView;
class CreateBufferResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::webnn::mojom::CreateBufferSuccessDataView> { … };
template <>
struct MojomTypeTraits<::webnn::mojom::CreateBufferResultDataView> { … };
}
}
namespace webnn::mojom {
class WebNNContextInterfaceBase { … };
WebNNContextPtrDataView;
WebNNContextRequestDataView;
WebNNContextAssociatedPtrInfoDataView;
WebNNContextAssociatedRequestDataView;
class CreateBufferSuccessDataView { … };
class CreateBufferResultDataView { … };
}
namespace std {
}
namespace mojo {
namespace internal {
Serializer< ::webnn::mojom::CreateBufferSuccessDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::webnn::mojom::CreateBufferResultDataView, MaybeConstUserType>;
}
}
namespace webnn::mojom {
inline void CreateBufferSuccessDataView::GetBufferHandleDataView(
::blink::mojom::WebNNBufferTokenDataView* output) { … }
inline void CreateBufferResultDataView::GetSuccessDataView(
CreateBufferSuccessDataView* output) const { … }
inline void CreateBufferResultDataView::GetErrorDataView(
::webnn::mojom::ErrorDataView* output) const { … }
}
#endif