Searched refs:BindStateBase (Results 1 - 6 of 6) sorted by relevance

/external/libchrome/base/
H A Dcallback_internal.h25 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 Dcallback_internal.cc14 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 Dcallback_unittest.cc24 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 Dbind.h42 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage;
64 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage;
H A Dcallback.h45 using PolymorphicInvoke = R (*)(internal::BindStateBase*, Args&&...);
49 explicit Callback(internal::BindStateBase* bind_state)
H A Dbind_internal.h319 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 388 milliseconds