#include "third_party/blink/renderer/core/workers/worklet_pending_tasks.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/workers/worklet.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"
namespace blink {
WorkletPendingTasks::WorkletPendingTasks(
Worklet* worklet,
ScriptPromiseResolver<IDLUndefined>* resolver)
: … { … }
void WorkletPendingTasks::InitializeCounter(int counter) { … }
void WorkletPendingTasks::Abort(
scoped_refptr<SerializedScriptValue> error_to_rethrow) { … }
void WorkletPendingTasks::DecrementCounter() { … }
void WorkletPendingTasks::Trace(Visitor* visitor) const { … }
}