#include "services/webnn/webnn_buffer_impl.h"
#include "services/webnn/error.h"
#include "services/webnn/public/cpp/operand_descriptor.h"
#include "services/webnn/public/mojom/webnn_buffer.mojom.h"
#include "services/webnn/webnn_context_impl.h"
namespace webnn {
WebNNBufferImpl::WebNNBufferImpl(
mojo::PendingAssociatedReceiver<mojom::WebNNBuffer> receiver,
WebNNContextImpl* context,
mojom::BufferInfoPtr buffer_info)
: … { … }
WebNNBufferImpl::~WebNNBufferImpl() = default;
void WebNNBufferImpl::ReadBuffer(ReadBufferCallback callback) { … }
void WebNNBufferImpl::WriteBuffer(mojo_base::BigBuffer src_buffer) { … }
void WebNNBufferImpl::OnDisconnect() { … }
}