Home
last modified time | relevance | path

Searched refs:PendingTask (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/base/
Dpending_task.cc11 PendingTask::PendingTask(const tracked_objects::Location& posted_from, in PendingTask() function in base::PendingTask
21 PendingTask::PendingTask(const tracked_objects::Location& posted_from, in PendingTask() function in base::PendingTask
33 PendingTask::PendingTask(PendingTask&& other) = default;
35 PendingTask::~PendingTask() { in ~PendingTask()
38 PendingTask& PendingTask::operator=(PendingTask&& other) = default;
40 bool PendingTask::operator<(const PendingTask& other) const { in operator <()
Dpending_task.h20 struct BASE_EXPORT PendingTask : public TrackingInfo { struct
21 PendingTask(const tracked_objects::Location& posted_from,
23 PendingTask(const tracked_objects::Location& posted_from,
27 PendingTask(PendingTask&& other);
28 ~PendingTask();
30 PendingTask& operator=(PendingTask&& other); argument
33 bool operator<(const PendingTask& other) const;
51 using TaskQueue = std::queue<PendingTask>; argument
54 using DelayedTaskQueue = std::priority_queue<base::PendingTask>;
/external/libchrome/base/debug/
Dtask_annotator.h14 struct PendingTask;
27 const PendingTask& pending_task);
31 void RunTask(const char* queue_function, const PendingTask& pending_task);
37 uint64_t GetTaskTraceID(const PendingTask& task) const;
Dtask_annotator.cc22 const PendingTask& pending_task) { in DidQueueTask()
30 const PendingTask& pending_task) { in RunTask()
58 uint64_t TaskAnnotator::GetTaskTraceID(const PendingTask& task) const { in GetTaskTraceID()
Dtask_annotator_unittest.cc22 PendingTask pending_task(FROM_HERE, Bind(&TestTask, &result)); in TEST()
/external/libchrome/base/threading/
Dworker_pool_posix.cc86 PendingTask pending_task = pool_->WaitForTask(); in ThreadMain()
144 PendingTask pending_task(from_here, task); in PostTask()
148 void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { in AddTask()
166 PendingTask PosixDynamicThreadPool::WaitForTask() { in WaitForTask()
170 return PendingTask(FROM_HERE, base::Closure()); in WaitForTask()
184 return PendingTask(FROM_HERE, base::Closure()); in WaitForTask()
188 PendingTask pending_task = std::move(pending_tasks_.front()); in WaitForTask()
Dworker_pool_posix.h65 PendingTask WaitForTask();
75 void AddTask(PendingTask* pending_task);
Dworker_pool_posix_unittest.cc30 const std::queue<PendingTask>& pending_tasks() const { in pending_tasks()
/external/libchrome/base/message_loop/
Dmessage_loop.cc467 PendingTask pending_task = in ProcessNextDelayedNonNestableTask()
475 void MessageLoop::RunTask(const PendingTask& pending_task) { in RunTask()
501 bool MessageLoop::DeferOrRunPendingTask(PendingTask pending_task) { in DeferOrRunPendingTask()
515 void MessageLoop::AddToDelayedWorkQueue(PendingTask pending_task) { in AddToDelayedWorkQueue()
523 PendingTask pending_task = std::move(work_queue_.front()); in DeletePendingTasks()
617 PendingTask pending_task = std::move(work_queue_.front()); in DoWork()
659 PendingTask pending_task = in DoDelayedWork()
660 std::move(const_cast<PendingTask&>(delayed_work_queue_.top())); in DoDelayedWork()
Dmessage_loop.h362 virtual void WillProcessTask(const PendingTask& pending_task) = 0;
365 virtual void DidProcessTask(const PendingTask& pending_task) = 0;
391 void RunTask(const PendingTask& pending_task);
453 bool DeferOrRunPendingTask(PendingTask pending_task);
456 void AddToDelayedWorkQueue(PendingTask pending_task);
Dincoming_task_queue.cc71 PendingTask pending_task( in AddToIncomingQueue()
143 bool IncomingTaskQueue::PostPendingTask(PendingTask* pending_task) { in PostPendingTask()
Dincoming_task_queue.h70 bool PostPendingTask(PendingTask* pending_task);
Dmessage_loop_unittest.cc613 void WillProcessTask(const PendingTask& pending_task) override { in WillProcessTask()
619 void DidProcessTask(const PendingTask& pending_task) override { in DidProcessTask()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.h19 struct PendingTask;
72 std::unique_ptr<base::PendingTask> pending_task_;
Dalarm_timer_chromeos.cc411 pending_task_.reset(new base::PendingTask( in Reset()
416 pending_task_.reset(new base::PendingTask(base::Timer::posted_from(), in Reset()
439 std::unique_ptr<base::PendingTask> pending_user_task( in OnTimerFired()
/external/libchrome/base/task_scheduler/
Dtask.cc14 : PendingTask(posted_from, in Task()
Dtask.h24 struct BASE_EXPORT Task : public PendingTask {