chromium/services/webnn/queueable_resource_state_base.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/queueable_resource_state_base.h"

#include "services/webnn/resource_task.h"

namespace webnn {

bool QueueableResourceStateBase::CanLock(bool exclusive) const {}

void QueueableResourceStateBase::Lock(bool exclusive) {}

void QueueableResourceStateBase::Unlock() {}

void QueueableResourceStateBase::EnqueueTask(scoped_refptr<ResourceTask> task) {}
ResourceTask* QueueableResourceStateBase::PeekTask() const {}
scoped_refptr<ResourceTask> QueueableResourceStateBase::PopTask() {}

bool QueueableResourceStateBase::IsLockedShared() const {}

bool QueueableResourceStateBase::IsLockedExclusive() const {}

QueueableResourceStateBase::QueueableResourceStateBase() = default;

QueueableResourceStateBase::~QueueableResourceStateBase() {}

}  // namespace webnn