Searched defs:task (Results 201 - 225 of 399) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dsyncable_file_system_operation.cc38 const base::Closure& task)
40 task_(task),
88 scoped_ptr<SyncableFileOperationRunner::Task> task(new QueueableTask(
94 operation_runner_->PostOperationTask(task.Pass());
110 scoped_ptr<SyncableFileOperationRunner::Task> task(new QueueableTask(
116 operation_runner_->PostOperationTask(task.Pass());
133 scoped_ptr<SyncableFileOperationRunner::Task> task(new QueueableTask(
139 operation_runner_->PostOperationTask(task.Pass());
156 scoped_ptr<SyncableFileOperationRunner::Task> task(new QueueableTask(
162 operation_runner_->PostOperationTask(task
37 QueueableTask(base::WeakPtr<SyncableFileSystemOperation> operation, const base::Closure& task) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_action_view_controller.cc234 base::Closure task = followup_context_menu_task_; local
236 task.Run();
/external/chromium_org/chromeos/attestation/
H A Dattestation_flow.cc36 const base::Closure& task = value ? on_true : on_false; local
37 if (!task.is_null())
38 task.Run();
/external/chromium_org/components/dom_distiller/core/
H A Ddom_distiller_service.cc81 // Entry is in the store but there is no task tracker. This could
226 void DomDistillerService::CancelTask(TaskTracker* task) { argument
227 TaskList::iterator it = std::find(tasks_.begin(), tasks_.end(), task);
230 base::MessageLoop::current()->DeleteSoon(FROM_HERE, task);
/external/chromium_org/components/domain_reliability/
H A Dtest_util.cc62 // Grab user task in case it re-entrantly starts the timer again.
129 base::Closure task = tasks_.begin()->second; local
135 VLOG(1) << "Advancing mock time: task at T=" << elapsed_sec() << "s";
137 task.Run();
145 void MockTime::AddTask(base::TimeDelta delay, const base::Closure& task) { argument
146 tasks_[TaskKey(now_ticks_ + delay, task_sequence_number_++)] = task;
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_store.cc190 bool PasswordStore::ScheduleTask(const base::Closure& task) { argument
194 return task_runner->PostTask(FROM_HERE, task);
263 void PasswordStore::WrapModificationTask(ModificationTask task) { argument
264 PasswordStoreChangeList changes = task.Run();
/external/chromium_org/components/sync_driver/
H A Dnon_ui_data_type_controller_unittest.cc128 PostTaskOnBackendThread(it->from_here, it->task);
140 const base::Closure& task) OVERRIDE {
142 pending_tasks_.push_back(PendingTask(from_here, task));
145 return backend_loop_->PostTask(from_here, task);
172 const base::Closure& task)
173 : from_here(from_here), task(task) {}
176 base::Closure task; member in struct:sync_driver::__anon6862::NonUIDataTypeControllerFake::PendingTask
171 PendingTask(const tracked_objects::Location& from_here, const base::Closure& task) argument
/external/chromium_org/components/visitedlink/browser/
H A Dvisitedlink_master.h133 // Sets a task to execute when the next rebuild from history is complete.
136 void set_rebuild_complete_task(const base::Closure& task) { argument
138 rebuild_complete_task_ = task;
202 // Posts the given task to the blocking worker pool with our options.
204 const base::Closure& task);
417 // When set, indicates the task that should be run after the next rebuild from
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_transaction.cc33 Operation task(queue_.front());
35 return task;
48 Operation task(stack_.top());
50 return task;
90 Operation task) {
98 task_queue_.push(task);
101 preemptive_task_queue_.push(task);
119 // A task is already posted.
357 Operation task(task_queue->pop());
358 task
89 ScheduleTask(blink::WebIDBTaskType type, Operation task) argument
[all...]
H A Dindexed_db_transaction.h59 void ScheduleTask(Operation task) { argument
60 ScheduleTask(blink::WebIDBTaskTypeNormal, task);
62 void ScheduleTask(blink::WebIDBTaskType, Operation task);
130 void push(Operation task) { queue_.push(task); } argument
145 void push(Operation task) { stack_.push(task); } argument
/external/chromium_org/content/browser/media/android/
H A Dmedia_resource_getter_impl.cc87 // Posts a task to the UI thread to run the callback function.
101 // Gets the metadata from a media URL. When finished, a task is posted to the UI
124 // Gets the metadata from a file descriptor. When finished, a task is posted to
138 // The task object that retrieves media resources on the IO thread.
276 scoped_refptr<MediaResourceGetterTask> task = new MediaResourceGetterTask( local
282 base::Bind(&MediaResourceGetterTask::RequestAuthCredentials, task, url),
291 scoped_refptr<MediaResourceGetterTask> task = new MediaResourceGetterTask( local
301 task, url, first_party_for_cookies,
/external/chromium_org/content/browser/quota/
H A Dquota_temporary_storage_evictor_unittest.cc88 void set_task_for_get_usage_and_quota(const base::Closure& task) { argument
89 task_for_get_usage_and_quota_= task;
/external/chromium_org/content/common/gpu/
H A Dimage_transport_surface.cc144 void ImageTransportHelper::DeferToFence(base::Closure task) { argument
148 scheduler->DeferToFence(task);
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_web_speech_recognizer.cc240 Task* task = object_->task_queue_.front(); local
242 task->run();
243 delete task;
/external/chromium_org/dbus/
H A Dexported_object.cc73 base::Closure task = base::Bind(&ExportedObject::ExportMethodInternal, local
79 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task);
209 // Post a task to run the method in the origin thread.
/external/chromium_org/extensions/browser/
H A Dstate_store.cc36 // Queues up a task for invoking once we're ready. Invokes immediately if
38 void InvokeWhenReady(base::Closure task);
51 void StateStore::DelayedTaskQueue::InvokeWhenReady(base::Closure task) { argument
53 task.Run();
55 pending_tasks_.push_back(task);
/external/chromium_org/gpu/command_buffer/service/
H A Dasync_pixel_transfer_manager_idle.cc131 (*iter).task.Run();
231 const base::Closure& task)
234 task(task) {
246 // Stop when we reach a pixel transfer task.
250 tasks.front().task.Run();
294 // First task should always be a pixel transfer task.
296 shared_state_.tasks.front().task.Run();
310 const Task& task local
228 Task( uint64 transfer_id, AsyncPixelTransferDelegate* delegate, const base::Closure& task) argument
[all...]
H A Dgpu_scheduler.cc138 // state, cancel the task that would reschedule it after a timeout.
152 // delayed task that it will force it back into a scheduled state after
225 void GpuScheduler::DeferToFence(base::Closure task) { argument
227 new UnscheduleFence(gfx::GLFence::Create(), task)));
244 unschedule_fences_.front()->task.Run();
255 unschedule_fences_.front()->task.Run();
304 task(task_) {
H A Din_process_command_buffer.h147 // Queues a task to run as soon as possible.
148 virtual void ScheduleTask(const base::Closure& task) = 0;
152 virtual void ScheduleIdleWork(const base::Closure& task) = 0;
202 void QueueTask(const base::Closure& task) { service_->ScheduleTask(task); } argument
/external/chromium_org/mojo/public/cpp/utility/lib/
H A Drun_loop.cc124 PendingTask task = delayed_tasks_.top(); local
126 task.task.Run();
138 void RunLoop::PostDelayedTask(const Closure& task, MojoTimeTicks delay) { argument
141 delayed_tasks_.push(PendingTask(task, run_time, next_sequence_number_++));
258 RunLoop::PendingTask::PendingTask(const Closure& task, argument
261 : task(task), run_time(run_time), sequence_number(sequence_number) {
270 // want the soonest eligible task to be at the head of the queue, so
/external/chromium_org/remoting/protocol/
H A Dpairing_registry.cc173 const base::Closure& task) {
174 task_runner->PostTask(from_here, task);
170 PostTask( const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, const tracked_objects::Location& from_here, const base::Closure& task) argument
H A Dprotocol_mock_objects.cc106 const base::Closure& task) {
108 task.Run();
103 PostTask( const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, const tracked_objects::Location& from_here, const base::Closure& task) argument
/external/chromium_org/sync/test/engine/
H A Dmock_model_type_sync_proxy.cc20 base::Closure task = local
25 pending_tasks_.push_back(task);
34 base::Closure task = base::Bind(&MockModelTypeSyncProxy::OnUpdateReceivedImpl, local
39 pending_tasks_.push_back(task);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptStreamer.cpp234 // background task finishes.
289 // new task shouldn't be queued before the running task completes,
290 // because the running task can block and wait for data from the
299 // ScriptStreamer needs to stay alive as long as the background task is
303 ScriptStreamingTask* task = new ScriptStreamingTask(m_task, this); local
304 ScriptStreamerThread::shared()->postTask(task);
348 // function calling notifyFinishedToClient was already scheduled in the task
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DWorkerGlobalScope.cpp185 void WorkerGlobalScope::postTask(PassOwnPtr<ExecutionContextTask> task) argument
187 thread()->postTask(task);

Completed in 9256 milliseconds

1234567891011>>