chromium/services/webnn/webnn_buffer_impl.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

}  // namespace webnn