Searched refs:BindStateBase (Results 1 - 6 of 6) sorted by relevance
/external/libchrome/base/ |
H A D | callback_internal.h | 25 class BindStateBase; 31 static void Destruct(const BindStateBase*); 34 // BindStateBase is used to provide an opaque handle that the Callback 45 class BASE_EXPORT BindStateBase class in namespace:base::internal 46 : public RefCountedThreadSafe<BindStateBase, BindStateBaseRefCountTraits> { 53 BindStateBase(InvokeFuncStorage polymorphic_invoke, 54 void (*destructor)(const BindStateBase*)); 55 BindStateBase(InvokeFuncStorage polymorphic_invoke, 56 void (*destructor)(const BindStateBase*), 57 bool (*is_cancelled)(const BindStateBase*)); [all...] |
H A D | callback_internal.cc | 14 bool ReturnFalse(const BindStateBase*) { argument 20 void BindStateBaseRefCountTraits::Destruct(const BindStateBase* bind_state) { 24 BindStateBase::BindStateBase(InvokeFuncStorage polymorphic_invoke, argument 25 void (*destructor)(const BindStateBase*)) 26 : BindStateBase(polymorphic_invoke, destructor, &ReturnFalse) { 29 BindStateBase::BindStateBase(InvokeFuncStorage polymorphic_invoke, argument 30 void (*destructor)(const BindStateBase*), 31 bool (*is_cancelled)(const BindStateBase*)) [all...] |
H A D | callback_unittest.cc | 24 struct FakeBindState : internal::BindStateBase { 25 FakeBindState() : BindStateBase(&NopInvokeFunc, &Destroy, &IsCancelled) {} 29 static void Destroy(const internal::BindStateBase* self) { 32 static bool IsCancelled(const internal::BindStateBase*) {
|
H A D | bind.h | 42 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage; 64 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage;
|
H A D | callback.h | 45 using PolymorphicInvoke = R (*)(internal::BindStateBase*, Args&&...); 49 explicit Callback(internal::BindStateBase* bind_state)
|
H A D | bind_internal.h | 319 static R RunOnce(BindStateBase* base, UnboundArgs&&... unbound_args) { 332 static R Run(BindStateBase* base, UnboundArgs&&... unbound_args) { 402 bool ApplyCancellationTraits(const BindStateBase* base) { 431 struct BindState final : BindStateBase { 438 explicit BindState(BindStateBase::InvokeFuncStorage invoke_func, 460 BindStateBase::InvokeFuncStorage invoke_func, 463 : BindStateBase(invoke_func, 473 BindStateBase::InvokeFuncStorage invoke_func, 476 : BindStateBase(invoke_func, &Destroy), 484 static void Destroy(const BindStateBase* sel [all...] |
Completed in 133 milliseconds