Searched refs:bind_state_ (Results 1 – 4 of 4) sorted by relevance
38 : bind_state_(c.bind_state_) {} in CallbackBase()41 bind_state_ = c.bind_state_; in operator =()46 : bind_state_(std::move(c.bind_state_)) {} in CallbackBase()49 bind_state_ = std::move(c.bind_state_); in operator =()56 bind_state_ = nullptr; in Reset()60 DCHECK(bind_state_); in IsCancelled()61 return bind_state_->IsCancelled(); in IsCancelled()65 return bind_state_ == other.bind_state_; in EqualsInternal()71 bind_state_ = c.bind_state_; in CallbackBaseCopyable()76 bind_state_ = c.bind_state_; in operator =()
108 bool is_null() const { return !bind_state_; } in is_null()131 return bind_state_->polymorphic_invoke_; in polymorphic_invoke()139 scoped_refptr<BindStateBase> bind_state_; variable145 : bind_state_(AdoptRef(bind_state)) {} in CallbackBase()
99 return f(cb.bind_state_.get(), std::forward<Args>(args)...); in Run()129 return f(this->bind_state_.get(), std::forward<Args>(args)...); in Run()140 return f(cb.bind_state_.get(), std::forward<Args>(args)...); in Run()
104 void Reset() { bind_state_ = NULL; } in Reset()105 bool is_null() const { return !bind_state_; } in is_null()106 void Run() { bind_state_(); } in Run()107 void Set(std::function<void()> func) { bind_state_ = func; } in Set()110 std::function<void()> bind_state_;