Lines Matching defs:task_runner_
16 task_runner_ = new base::mac::LibDispatchTaskRunner(
23 dispatch_async(task_runner_->GetDispatchQueue(), ^{
28 task_runner_->Shutdown();
58 scoped_refptr<base::mac::LibDispatchTaskRunner> task_runner_;
92 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "Basic Task"));
102 task_runner_->PostTask(FROM_HERE, base::BindBlock(^{
104 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "Inner"));
118 task_runner_->PostTask(FROM_HERE, base::BindBlock(^{
132 dispatch_async(task_runner_->GetDispatchQueue(), ^{
135 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "First Task"));
136 dispatch_async(task_runner_->GetDispatchQueue(), ^{
139 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "Second Task"));
156 task_runner_->PostTask(FROM_HERE, base::BindBlock(^{
158 task_runner_->PostNonNestableTask(FROM_HERE, base::BindBlock(^{
165 task_runner_->Shutdown();
181 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "First"));
183 task_runner_->PostDelayedTask(FROM_HERE, base::BindBlock(^{
189 task_runner_->PostTask(FROM_HERE, BoundRecordTaskOrder(this, "Second"));
191 task_runner_->Shutdown();
207 EXPECT_TRUE(task_runner_->PostTask(FROM_HERE,
209 EXPECT_TRUE(task_runner_->PostTask(FROM_HERE,
211 task_runner_->Shutdown();
212 EXPECT_FALSE(task_runner_->PostTask(FROM_HERE, base::BindBlock(^{