/external/chromium_org/base/threading/ |
worker_pool_win.cc | 11 #include "base/pending_task.h" 23 PendingTask* pending_task = static_cast<PendingTask*>(param); local 25 "src_file", pending_task->posted_from.file_name(), 26 "src_func", pending_task->posted_from.function_name()); 29 tracked_objects::ThreadData::NowForStartOfRun(pending_task->birth_tally); 32 pending_task->task.Run(); 36 pending_task->birth_tally, 37 tracked_objects::TrackedTime(pending_task->time_posted), start_time, 40 delete pending_task; 44 // Takes ownership of |pending_task| 64 PendingTask* pending_task = new PendingTask(from_here, task); local [all...] |
worker_pool_posix.cc | 91 PendingTask pending_task = pool_->WaitForTask(); local 92 if (pending_task.task.is_null()) 95 "src_file", pending_task.posted_from.file_name(), 96 "src_func", pending_task.posted_from.function_name()); 99 tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); 101 pending_task.task.Run(); 104 pending_task.birth_tally, TrackedTime(pending_task.time_posted), 151 PendingTask pending_task(from_here, task); 152 AddTask(&pending_task); 197 PendingTask pending_task = pending_tasks_.front(); local [all...] |
/external/chromium_org/remoting/base/ |
plugin_thread_task_runner.cc | 99 base::PendingTask pending_task(from_here, task, delayed_run_time, false); 106 pending_task.sequence_num = next_sequence_num_++; 113 incoming_queue_.push(pending_task); 114 pending_task.task.Reset(); 185 base::PendingTask pending_task = work_queue.front(); local 188 if (pending_task.delayed_run_time.is_null()) { 189 pending_task.task.Run(); 191 delayed_queue_.push(pending_task);
|
/external/chromium_org/chrome_frame/ |
chrome_frame_delegate.h | 17 #include "base/pending_task.h" 140 base::PendingTask* pending_task = variable 142 PushTask(pending_task); variable 144 reinterpret_cast<WPARAM>(pending_task)); 175 base::PendingTask* pending_task = local 177 if (pending_task && PopTask(pending_task)) { 178 pending_task->task.Run(); 179 delete pending_task; 187 inline void PushTask(base::PendingTask* pending_task) { [all...] |
/external/chromium/base/ |
message_loop.cc | 383 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { 384 if (pending_task.nestable || state_->run_depth == 1) { 385 RunTask(pending_task.task); 393 deferred_non_nestable_work_queue_.push(pending_task); 397 void MessageLoop::AddToDelayedWorkQueue(const PendingTask& pending_task) { 402 PendingTask new_pending_task(pending_task); 428 PendingTask pending_task = work_queue_.front(); local 430 if (!pending_task.delayed_run_time.is_null()) { 434 AddToDelayedWorkQueue(pending_task); 440 delete pending_task.task 570 PendingTask pending_task = work_queue_.front(); local 610 PendingTask pending_task = delayed_work_queue_.top(); local [all...] |
/external/chromium_org/base/message_loop/ |
message_loop.cc | 471 PendingTask pending_task = deferred_non_nestable_work_queue_.front(); 474 RunTask(pending_task); 478 void MessageLoop::RunTask(const PendingTask& pending_task) { 480 tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); 483 TRACE_ID_MANGLE(GetTaskTraceID(pending_task)), 485 (start_time - pending_task.EffectiveTimePosted()).InMilliseconds()); 490 pending_task.posted_from.function_name(), // Name for memory tracking. 491 "src_file", pending_task.posted_from.file_name(), 492 "src_func", pending_task.posted_from.function_name()); 504 pending_task.posted_from.program_counter() 543 PendingTask pending_task = work_queue_.front(); local 629 PendingTask pending_task = work_queue_.front(); local 669 PendingTask pending_task = delayed_work_queue_.top(); local [all...] |