Home
last modified time | relevance | path

Searched refs:task_ (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/webrtc/base/
Dtask_unittest.cc140 stuck_[i].task_ = new StuckTask(&task_runner_); in Start()
141 stuck_[i].task_->SignalTimeoutId.connect(this, in Start()
144 stuck_[i].xlat_ = stuck_[i].task_->unique_id(); in Start()
145 stuck_[i].task_->set_timeout_seconds(i + 1); in Start()
147 << stuck_[i].task_->timeout_seconds(); in Start()
151 happy_[i].task_ = new HappyTask(&task_runner_); in Start()
152 happy_[i].task_->SignalTimeoutId.connect(this, in Start()
154 happy_[i].task_->SignalDoneId.connect(this, in Start()
157 happy_[i].xlat_ = happy_[i].task_->unique_id(); in Start()
167 stuck_[stuck_index++].task_->Start(); in Start()
[all …]
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_request_scheduler.cc10 const base::Closure& task) : task_(task) { in VariationsRequestScheduler()
19 task_.Run(); in Start()
20 timer_.Start(FROM_HERE, base::TimeDelta::FromHours(kFetchPeriodHours), task_); in Start()
36 task_); in ScheduleFetchShortly()
44 return task_; in task()
Dvariations_request_scheduler.h52 base::Closure task_; variable
/external/chromium_org/base/threading/
Dpost_task_and_reply_impl.cc31 task_ = task; in PostTaskAndReplyRelay()
37 task_.Reset(); in ~PostTaskAndReplyRelay()
42 task_.Run(); in Run()
56 task_.Reset(); in RunReplyAndSelfDestruct()
67 Closure task_; member in base::__anoncbfdfa0b0111::PostTaskAndReplyRelay
/external/chromium_org/ui/views_content_client/
Dviews_content_client.h65 void set_task(const Task& task) { task_ = task; } in set_task()
66 const Task& task() const { return task_; } in task()
76 Task task_; variable
Dviews_content_client_main_parts_mac.mm19 base::Closure task_; field
90 task_ = task;
115 task_.Run();
/external/chromium_org/gpu/command_buffer/service/
Dasync_pixel_transfer_manager_share_group.cc133 : task_(task), task_pending_(true, false) {} in PendingTask()
141 if (!task_.is_null()) in TryRun()
142 task_.Run(); in TryRun()
143 task_.Reset(); in TryRun()
157 if (!task_.is_null()) { in BindAndRun()
159 task_.Run(); in BindAndRun()
160 task_.Reset(); in BindAndRun()
170 task_.Reset(); in Cancel()
190 base::Closure task_; member in gpu::__anon610c1bd30111::PendingTask
Dgpu_scheduler.cc301 base::Closure task_) in UnscheduleFence() argument
304 task(task_) { in UnscheduleFence()
/external/chromium_org/chrome/browser/sync/glue/
Dtyped_url_data_type_controller.cc37 : task_(new base::Closure(task)), in RunTaskOnHistoryThread()
51 task_->Run(); in RunOnDBThread()
52 task_.reset(); in RunOnDBThread()
61 scoped_ptr<base::Closure> task_; member in browser_sync::__anon9f52d5b30111::RunTaskOnHistoryThread
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
Dondemand_supply_task_test.cc59 task_(new OndemandSupplyTask(lookup_key_, &rule_cache_, *supplied_)) {} in OndemandSupplyTaskTest()
68 void Queue(const std::string& key) { task_->Queue(key); } in Queue()
70 void Retrieve() { task_->Retrieve(*retriever_); } in Retrieve()
84 ASSERT_EQ(&task_->hierarchy_, &hierarchy); in Supplied()
92 OndemandSupplyTask* const task_; member in __anon599d33660111::OndemandSupplyTaskTest
/external/chromium_org/chrome/test/base/
Dhistory_index_restore_observer.cc9 : task_(task), in HistoryIndexRestoreObserver()
17 task_.Run(); in OnCacheRestoreFinished()
Dhistory_index_restore_observer.h28 base::Closure task_;
/external/chromium_org/content/child/
Dworker_task_runner.cc21 RunClosureTask(const base::Closure& task) : task_(task) {} in RunClosureTask()
24 task_.Run(); in Run()
27 base::Closure task_; member in content::__anon4b4146f80111::RunClosureTask
/external/chromium_org/cc/resources/
Drasterizer.h107 explicit TaskComparator(const RasterTask* task) : task_(task) {} in TaskComparator()
109 bool operator()(const Item& item) const { return item.task == task_; } in operator()
112 const RasterTask* task_;
Dpixel_buffer_raster_worker_pool.h59 explicit TaskComparator(const RasterTask* task) : task_(task) {} in TaskComparator()
62 return state.task == task_; in operator()
66 const RasterTask* task_;
Dtask_graph_runner.h46 explicit TaskComparator(const Task* task) : task_(task) {} in TaskComparator()
48 bool operator()(const Node& node) const { return node.task == task_; } in operator()
51 const Task* task_;
Dtask_graph_runner.cc21 task_(task), in DependentIterator()
29 DCHECK_EQ(graph_->edges[current_index_].task, task_); in operator ->()
36 DCHECK_EQ(graph_->edges[current_index_].task, task_); in operator *()
48 } while (graph_->edges[current_index_].task != task_); in operator ++()
66 const Task* task_; member in cc::__anon6fe045f20111::DependentIterator
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_system_operation.cc40 task_(task), in QueueableTask()
50 DCHECK(!task_.is_null()); in Run()
51 task_.Run(); in Run()
56 DCHECK(!task_.is_null()); in Cancel()
59 task_.Reset(); in Cancel()
69 base::Closure task_; member in sync_file_system::SyncableFileSystemOperation::QueueableTask
/external/chromium_org/ui/base/test/
Dui_controls_internal_win.cc42 base::Closure task_; member in __anon87ff84360111::InputDispatcher
110 : task_(task), message_waiting_for_(message_waiting_for) { in InputDispatcher()
133 task_.Run(); in NotifyTask()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_task_manager.cc24 explicit SyncTaskAdapter(const SyncTaskManager::Task& task) : task_(task) {} in SyncTaskAdapter()
28 task_.Run(callback); in RunExclusive()
32 SyncTaskManager::Task task_; member in sync_file_system::drive_backend::__anona86f5c9e0111::SyncTaskAdapter
/external/chromium_org/net/disk_cache/blockfile/
Din_flight_backend_io.cc151 task_ = task; in RunTask()
270 task_.Run(); in ExecuteBackendOperation()
Din_flight_backend_io.h141 base::Closure task_; variable
/external/chromium_org/chrome/browser/history/
Din_memory_url_index_unittest.cc70 base::Closure task_; member in history::CacheFileSaverObserver
77 : task_(task), in CacheFileSaverObserver()
83 task_.Run(); in OnCacheSaveFinished()
Dhistory_backend.cc173 : task_(task.Pass()), origin_loop_(origin_loop), is_canceled_(is_canceled) { in QueuedHistoryDBTask()
174 DCHECK(task_); in QueuedHistoryDBTask()
184 base::Unretained(task_.release()))); in ~QueuedHistoryDBTask()
193 return task_->RunOnDBThread(backend, db); in Run()
201 base::Unretained(task_.get())), in DoneRun()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view_test.cc586 : task_(task) { in BookmarkContextMenuNotificationObserver()
595 base::MessageLoop::current()->PostTask(FROM_HERE, task_); in Observe()
599 void set_task(const base::Closure& task) { task_ = task; } in set_task()
603 base::Closure task_; member in BookmarkContextMenuNotificationObserver

12