Lines Matching defs:WorkerTaskRunner
32 struct WorkerTaskRunner::ThreadLocalState {
38 ObserverList<WorkerTaskRunner::Observer> stop_observers_;
41 WorkerTaskRunner::WorkerTaskRunner() {
47 bool WorkerTaskRunner::PostTask(
57 int WorkerTaskRunner::PostTaskToAllThreads(const base::Closure& closure) {
65 int WorkerTaskRunner::CurrentWorkerId() {
71 WorkerTaskRunner* WorkerTaskRunner::Instance() {
72 static base::LazyInstance<WorkerTaskRunner>::Leaky
77 void WorkerTaskRunner::AddStopObserver(Observer* obs) {
82 void WorkerTaskRunner::RemoveStopObserver(Observer* obs) {
87 WorkerTaskRunner::~WorkerTaskRunner() {
90 void WorkerTaskRunner::OnWorkerRunLoopStarted(const WebWorkerRunLoop& loop) {
99 void WorkerTaskRunner::OnWorkerRunLoopStopped(const WebWorkerRunLoop& loop) {