Lines Matching refs:task_runner
23 scoped_refptr<base::SingleThreadTaskRunner> task_runner = in GetForCurrentThread() local
25 if (task_runner.get()) in GetForCurrentThread()
26 return new CefTaskRunnerImpl(task_runner); in GetForCurrentThread()
32 scoped_refptr<base::SingleThreadTaskRunner> task_runner = in GetForThread() local
34 if (task_runner.get()) in GetForThread()
35 return new CefTaskRunnerImpl(task_runner); in GetForThread()
44 scoped_refptr<base::SingleThreadTaskRunner> task_runner) in CefTaskRunnerImpl() argument
45 : task_runner_(task_runner) { in CefTaskRunnerImpl()
97 scoped_refptr<base::SingleThreadTaskRunner> task_runner; in GetCurrentTaskRunner() local
106 task_runner = base::CreateSingleThreadTaskRunner( in GetCurrentTaskRunner()
110 if (!task_runner.get()) { in GetCurrentTaskRunner()
113 task_runner = base::ThreadTaskRunnerHandle::Get(); in GetCurrentTaskRunner()
116 if (!task_runner.get()) { in GetCurrentTaskRunner()
121 return task_runner; in GetCurrentTaskRunner()
134 scoped_refptr<base::SingleThreadTaskRunner> task_runner = in BelongsToThread() local
136 return (task_runner_ == task_runner); in BelongsToThread()