Home
last modified time | relevance | path

Searched refs:PostTaskResult (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.h149 struct PostTaskResult { struct
150 PostTaskResult();
151 PostTaskResult(bool success, TaskQueue::PostedTask task);
152 PostTaskResult(PostTaskResult&& move_from);
153 PostTaskResult(const PostTaskResult& copy_from) = delete;
154 ~PostTaskResult();
156 static PostTaskResult Success();
157 static PostTaskResult Fail(TaskQueue::PostedTask task);
185 PostTaskResult PostDelayedTask(TaskQueue::PostedTask task);
370 PostTaskResult PostImmediateTaskImpl(TaskQueue::PostedTask task);
[all …]
Dtask_queue_impl.cc67 TaskQueueImpl::PostTaskResult::PostTaskResult() in PostTaskResult() function in base::sequence_manager::internal::TaskQueueImpl::PostTaskResult
70 TaskQueueImpl::PostTaskResult::PostTaskResult(bool success, in PostTaskResult() function in base::sequence_manager::internal::TaskQueueImpl::PostTaskResult
74 TaskQueueImpl::PostTaskResult::PostTaskResult(PostTaskResult&& move_from) in PostTaskResult() function in base::sequence_manager::internal::TaskQueueImpl::PostTaskResult
77 TaskQueueImpl::PostTaskResult::~PostTaskResult() = default;
79 TaskQueueImpl::PostTaskResult TaskQueueImpl::PostTaskResult::Success() { in Success()
80 return PostTaskResult(true, TaskQueue::PostedTask(OnceClosure(), Location())); in Success()
83 TaskQueueImpl::PostTaskResult TaskQueueImpl::PostTaskResult::Fail( in Fail()
85 return PostTaskResult(false, std::move(task)); in Fail()
186 TaskQueueImpl::PostTaskResult TaskQueueImpl::PostDelayedTask( in PostDelayedTask()
194 TaskQueueImpl::PostTaskResult TaskQueueImpl::PostImmediateTaskImpl( in PostImmediateTaskImpl()
[all …]
Dtask_queue.cc116 internal::TaskQueueImpl::PostTaskResult result( in PostTaskWithMetadata()