Home
last modified time | relevance | path

Searched refs:ThreadTaskRunnerHandle (Results 1 – 20 of 20) sorted by relevance

/external/libchrome/base/
Dthread_task_runner_handle.cc15 base::LazyInstance<base::ThreadLocalPointer<ThreadTaskRunnerHandle> >::Leaky
21 scoped_refptr<SingleThreadTaskRunner> ThreadTaskRunnerHandle::Get() { in Get()
22 ThreadTaskRunnerHandle* current = lazy_tls_ptr.Pointer()->Get(); in Get()
28 bool ThreadTaskRunnerHandle::IsSet() { in IsSet()
32 ThreadTaskRunnerHandle::ThreadTaskRunnerHandle( in ThreadTaskRunnerHandle() function in base::ThreadTaskRunnerHandle
40 ThreadTaskRunnerHandle::~ThreadTaskRunnerHandle() { in ~ThreadTaskRunnerHandle()
Dthread_task_runner_handle.h20 class BASE_EXPORT ThreadTaskRunnerHandle {
31 explicit ThreadTaskRunnerHandle(
33 ~ThreadTaskRunnerHandle();
Dcancelable_callback_unittest.cc170 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
175 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
Dobserver_list_threadsafe.h200 : task_runner(ThreadTaskRunnerHandle::Get()), list(type) {}
/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc103 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
115 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
150 ThreadTaskRunnerHandle::Get(), in TEST_F()
156 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
166 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
172 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
183 ThreadTaskRunnerHandle::Get(), in TEST_F()
189 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
Dfile_path_watcher_fsevents.cc97 set_task_runner(ThreadTaskRunnerHandle::Get()); in Watch()
Dfile_path_watcher_kqueue.cc332 io_task_runner_ = ThreadTaskRunnerHandle::Get(); in Watch()
Dfile_path_watcher_linux.cc456 set_task_runner(ThreadTaskRunnerHandle::Get()); in Watch()
Dfile_path_watcher_unittest.cc51 NotificationCollector() : task_runner_(base::ThreadTaskRunnerHandle::Get()) {} in NotificationCollector()
/external/libchrome/base/task/
Dcancelable_task_tracker.cc91 DCHECK(base::ThreadTaskRunnerHandle::IsSet()); in PostTaskAndReply()
119 DCHECK(base::ThreadTaskRunnerHandle::IsSet()); in NewTrackedTaskId()
135 base::ThreadTaskRunnerHandle::Get(), in NewTrackedTaskId()
/external/libchrome/base/threading/
Dpost_task_and_reply_impl.cc31 origin_task_runner_(ThreadTaskRunnerHandle::Get()) { in PostTaskAndReplyRelay()
Dsequenced_worker_pool.cc1258 : constructor_task_runner_(ThreadTaskRunnerHandle::Get()), in SequencedWorkerPool()
1265 : constructor_task_runner_(ThreadTaskRunnerHandle::Get()), in SequencedWorkerPool()
/external/libchrome/base/message_loop/
Dmessage_loop.h44 class ThreadTaskRunnerHandle; variable
537 scoped_ptr<ThreadTaskRunnerHandle> thread_task_runner_handle_;
Dmessage_loop_task_runner_unittest.cc261 ASSERT_EQ(io_thread_->task_runner(), ThreadTaskRunnerHandle::Get()); in AssertOnIOThread()
266 ASSERT_EQ(file_thread_->task_runner(), ThreadTaskRunnerHandle::Get()); in AssertOnFileThread()
Dmessage_loop_unittest.cc912 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, Bind( in TEST()
1028 EXPECT_EQ(new_runner, ThreadTaskRunnerHandle::Get()); in TEST()
1052 EXPECT_EQ(loop.task_runner(), ThreadTaskRunnerHandle::Get()); in TEST()
Dmessage_loop.cc433 thread_task_runner_handle_.reset(new ThreadTaskRunnerHandle(task_runner_)); in SetThreadTaskRunnerHandle()
/external/libchrome/base/timer/
Dtimer.cc173 return task_runner_.get() ? task_runner_ : ThreadTaskRunnerHandle::Get(); in GetTaskRunner()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc517 RegisterDumpProvider(&mdp1, ThreadTaskRunnerHandle::Get(), kDefaultOptions); in TEST_F()
518 RegisterDumpProvider(&mdp2, ThreadTaskRunnerHandle::Get(), kDefaultOptions); in TEST_F()
769 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, quit_closure); in TEST_F()
Dtrace_log.cc260 this, "ThreadLocalEventBuffer", ThreadTaskRunnerHandle::Get()); in ThreadLocalEventBuffer()
859 flush_task_runner_ = ThreadTaskRunnerHandle::IsSet() in FlushInternal()
860 ? ThreadTaskRunnerHandle::Get() in FlushInternal()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc186 origin_task_runner_ = base::ThreadTaskRunnerHandle::Get(); in Reset()