#include "base/functional/callback_internal.h"
#include "base/check.h"
#include "base/notreached.h"
#include "base/types/cxx23_to_underlying.h"
namespace base {
namespace internal {
namespace {
bool QueryCancellationTraitsForNonCancellables(
const BindStateBase*,
BindStateBase::CancellationQueryMode mode) { … }
}
void BindStateBaseRefCountTraits::Destruct(const BindStateBase* bind_state) { … }
BindStateBase::BindStateBase(InvokeFuncStorage polymorphic_invoke,
DestructorPtr destructor)
: … { … }
BindStateBase::BindStateBase(
InvokeFuncStorage polymorphic_invoke,
DestructorPtr destructor,
QueryCancellationTraitsPtr query_cancellation_traits)
: … { … }
BindStateHolder& BindStateHolder::operator=(BindStateHolder&&) noexcept =
default;
BindStateHolder::BindStateHolder(const BindStateHolder&) = default;
BindStateHolder& BindStateHolder::operator=(const BindStateHolder&) = default;
BindStateHolder::~BindStateHolder() = default;
void BindStateHolder::Reset() { … }
bool BindStateHolder::IsCancelled() const { … }
bool BindStateHolder::MaybeValid() const { … }
}
}