Lines Matching refs:context_
39 : callback_(std::move(callback)), context_(context) {} in ContextualOnceCallback()
49 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in Invoke()
53 if (context_ != nullptr) { in InvokeIfNotEmpty()
54 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in InvokeIfNotEmpty()
59 return context_ == nullptr; in IsEmpty()
64 IPostableContext* context_; variable
75 : callback_(std::move(callback)), context_(context) {} in ContextualCallback()
85 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in Invoke()
89 if (context_ != nullptr) { in InvokeIfNotEmpty()
90 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in InvokeIfNotEmpty()
95 return context_ == nullptr; in IsEmpty()
100 IPostableContext* context_; variable