Home
last modified time | relevance | path

Searched refs:ThreadControllerImpl (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dthread_controller_impl.cc19 ThreadControllerImpl::ThreadControllerImpl( in ThreadControllerImpl() function in base::sequence_manager::internal::ThreadControllerImpl
30 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
33 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
37 ThreadControllerImpl::~ThreadControllerImpl() = default;
39 ThreadControllerImpl::AnySequence::AnySequence() = default;
41 ThreadControllerImpl::AnySequence::~AnySequence() = default;
43 ThreadControllerImpl::MainSequenceOnly::MainSequenceOnly() = default;
45 ThreadControllerImpl::MainSequenceOnly::~MainSequenceOnly() = default;
47 std::unique_ptr<ThreadControllerImpl> ThreadControllerImpl::Create( in Create()
50 return WrapUnique(new ThreadControllerImpl( in Create()
[all …]
Dthread_controller_impl.h27 class BASE_EXPORT ThreadControllerImpl : public ThreadController,
30 ~ThreadControllerImpl() override;
32 static std::unique_ptr<ThreadControllerImpl> Create(
54 ThreadControllerImpl(MessageLoop* message_loop,
121 WeakPtrFactory<ThreadControllerImpl> weak_factory_;
123 DISALLOW_COPY_AND_ASSIGN(ThreadControllerImpl);
Dsequence_manager_impl.cc132 new SequenceManagerImpl(internal::ThreadControllerImpl::Create( in CreateOnCurrentThread()
/external/libchrome/base/task/sequence_manager/test/
Dlazy_thread_controller_for_test.cc14 : ThreadControllerImpl(MessageLoop::current(), in LazyThreadControllerForTest()
36 ThreadControllerImpl::SetDefaultTaskRunner(pending_default_task_runner_); in EnsureMessageLoop()
70 ThreadControllerImpl::nesting_observer_ = observer; in AddNestingObserver()
81 ThreadControllerImpl::nesting_observer_ = nullptr; in RemoveNestingObserver()
98 ThreadControllerImpl::ScheduleWork(); in ScheduleWork()
104 ThreadControllerImpl::SetNextDelayedDoWork(lazy_now, run_time); in SetNextDelayedDoWork()
113 ThreadControllerImpl::SetDefaultTaskRunner(task_runner); in SetDefaultTaskRunner()
119 ThreadControllerImpl::RestoreDefaultTaskRunner(); in RestoreDefaultTaskRunner()
Dsequence_manager_for_test.cc14 class ThreadControllerForTest : public internal::ThreadControllerImpl {
19 : ThreadControllerImpl(message_loop, in ThreadControllerForTest()
26 ThreadControllerImpl::AddNestingObserver(observer); in AddNestingObserver()
32 ThreadControllerImpl::RemoveNestingObserver(observer); in RemoveNestingObserver()
Dlazy_thread_controller_for_test.h23 class LazyThreadControllerForTest : public internal::ThreadControllerImpl {