#include "third_party/blink/renderer/core/dom/abort_signal_composition_manager.h"
#include "base/check.h"
#include "third_party/blink/renderer/core/dom/abort_signal.h"
#include "third_party/blink/renderer/core/dom/abort_signal_composition_type.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_linked_hash_set.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_vector.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/wtf/casting.h"
namespace blink {
AbortSignalCompositionManager::AbortSignalCompositionManager(
AbortSignal& signal,
AbortSignalCompositionType type)
: … { … }
AbortSignalCompositionManager::~AbortSignalCompositionManager() = default;
void AbortSignalCompositionManager::Trace(Visitor* visitor) const { … }
void AbortSignalCompositionManager::Settle() { … }
DependentSignalCompositionManager::DependentSignalCompositionManager(
AbortSignal& managed_signal,
AbortSignalCompositionType type,
const HeapVector<Member<AbortSignal>>& source_signals)
: … { … }
DependentSignalCompositionManager::~DependentSignalCompositionManager() =
default;
void DependentSignalCompositionManager::Trace(Visitor* visitor) const { … }
void DependentSignalCompositionManager::AddSourceSignal(AbortSignal& source) { … }
void DependentSignalCompositionManager::Settle() { … }
void DependentSignalCompositionManager::OnSourceSettled(
SourceSignalCompositionManager& source_manager) { … }
SourceSignalCompositionManager::SourceSignalCompositionManager(
AbortSignal& signal,
AbortSignalCompositionType composition_type)
: … { … }
SourceSignalCompositionManager::~SourceSignalCompositionManager() = default;
void SourceSignalCompositionManager::Trace(Visitor* visitor) const { … }
void SourceSignalCompositionManager::AddDependentSignal(
DependentSignalCompositionManager& dependent_manager) { … }
void SourceSignalCompositionManager::Settle() { … }
}