/external/chromium_org/google_apis/drive/ |
task_util.cc | 11 void RunTaskOnThread(scoped_refptr<base::SingleThreadTaskRunner> task_runner, 13 if (task_runner->BelongsToCurrentThread()) { 16 const bool posted = task_runner->PostTask(FROM_HERE, task);
|
/external/chromium_org/cc/scheduler/ |
delay_based_time_source_unittest.cc | 21 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 25 FakeDelayBasedTimeSource::Create(Interval(), task_runner.get()); 30 EXPECT_TRUE(task_runner->HasPendingTask()); 33 task_runner->RunPendingTasks(); 39 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 43 FakeDelayBasedTimeSource::Create(Interval(), task_runner.get()); 46 EXPECT_TRUE(task_runner->HasPendingTask()); 48 task_runner->RunPendingTasks(); 53 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 57 FakeDelayBasedTimeSource::Create(Interval(), task_runner.get()) 67 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 84 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 105 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 127 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 148 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 170 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 192 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 223 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 267 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 309 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 420 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 445 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 460 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 485 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 515 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local [all...] |
frame_rate_controller_unittest.cc | 32 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 38 FakeDelayBasedTimeSource::Create(interval, task_runner.get()); 47 elapsed += task_runner->NextPendingTaskDelay(); 49 task_runner->RunPendingTasks(); 62 elapsed += task_runner->NextPendingTaskDelay(); 66 task_runner->RunPendingTasks(); 71 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 77 FakeDelayBasedTimeSource::Create(interval, task_runner.get()); 87 elapsed += task_runner->NextPendingTaskDelay(); 89 task_runner->RunPendingTasks() 135 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 187 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local [all...] |
delay_based_time_source.h | 22 base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner); 43 base::SingleThreadTaskRunner* task_runner); 80 base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner); 86 base::SingleThreadTaskRunner* task_runner);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_url_request_context_getter.cc | 12 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 13 DCHECK(task_runner); 14 network_task_runner_ = task_runner;
|
cloud_print_url_request_context_getter.h | 16 // |task_runner| must not be NULL. 18 scoped_refptr<base::SingleThreadTaskRunner> task_runner);
|
/external/chromium_org/base/files/ |
file_util_proxy.h | 54 // This returns false if task posting to |task_runner| has failed. 55 static bool CreateOrOpen(TaskRunner* task_runner, 69 // This returns false if task posting to |task_runner| has failed. 71 TaskRunner* task_runner, 76 // This returns false if task posting to |task_runner| has failed. 77 static bool Close(TaskRunner* task_runner, 83 // This returns false if task posting to |task_runner| has failed. 85 TaskRunner* task_runner, 90 // This returns false if task posting to |task_runner| has failed. 92 TaskRunner* task_runner, [all...] |
file_util_proxy.cc | 12 #include "base/task_runner.h" 28 CreateOrOpenHelper(TaskRunner* task_runner, 30 : task_runner_(task_runner), 64 explicit CreateTemporaryHelper(TaskRunner* task_runner) 65 : task_runner_(task_runner), 228 TaskRunner* task_runner, 232 task_runner, 240 TaskRunner* task_runner, 243 CreateTemporaryHelper* helper = new CreateTemporaryHelper(task_runner); 244 return task_runner->PostTaskAndReply [all...] |
/external/chromium_org/remoting/host/ |
pairing_registry_delegate.cc | 14 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 19 pairing_registry = new PairingRegistry(task_runner, delegate.Pass());
|
pairing_registry_delegate.h | 23 // returned by CreatePairingRegistryDelegate(). The passed |task_runner| is used 26 scoped_refptr<base::SingleThreadTaskRunner> task_runner);
|
/external/chromium_org/remoting/host/policy_hack/ |
fake_policy_watcher.cc | 13 scoped_refptr<base::SingleThreadTaskRunner> task_runner) 14 : PolicyWatcher(task_runner) {
|
fake_policy_watcher.h | 16 scoped_refptr<base::SingleThreadTaskRunner> task_runner);
|
/external/chromium_org/remoting/base/ |
auto_thread_unittest.cc | 26 scoped_refptr<base::TaskRunner> task_runner, 28 task_runner->PostTask(FROM_HERE, base::Bind(&SetFlagTask, success)); 100 scoped_refptr<base::TaskRunner> task_runner = local 102 EXPECT_TRUE(task_runner.get()); 104 task_runner = NULL; 110 scoped_refptr<base::TaskRunner> task_runner = local 112 EXPECT_TRUE(task_runner.get()); 116 task_runner->PostTask(FROM_HERE, base::Bind(&SetFlagTask, &success)); 118 task_runner = NULL; 147 scoped_refptr<base::TaskRunner> task_runner local 173 scoped_refptr<base::TaskRunner> task_runner = local [all...] |
auto_thread_task_runner_unittest.cc | 24 scoped_refptr<AutoThreadTaskRunner> task_runner = new AutoThreadTaskRunner( local 31 task_runner = NULL;
|
auto_thread.cc | 46 scoped_refptr<AutoThreadTaskRunner> task_runner; member in struct:remoting::AutoThread::StartupData 61 scoped_refptr<AutoThreadTaskRunner> task_runner = thread->StartWithType(type); local 62 if (!task_runner.get()) 64 return task_runner; 82 scoped_refptr<AutoThreadTaskRunner> task_runner = local 84 if (!task_runner) 86 return task_runner; 147 DCHECK(startup_data.task_runner.get()); 148 return startup_data.task_runner; 159 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { [all...] |
/external/chromium_org/base/test/ |
sequenced_task_runner_test_template.h | 44 const scoped_refptr<SequencedTaskRunner>& task_runner, 49 const scoped_refptr<SequencedTaskRunner>& task_runner, 54 const scoped_refptr<SequencedTaskRunner>& task_runner, 60 const scoped_refptr<SequencedTaskRunner>& task_runner, 139 const scoped_refptr<SequencedTaskRunner> task_runner = local 143 task_runner, Bind(&PlatformThread::Sleep, TimeDelta::FromSeconds(1))); 145 this->task_tracker_->PostWrappedNonNestableTask(task_runner, Closure()); 161 const scoped_refptr<SequencedTaskRunner> task_runner = local 165 task_runner, 168 this->task_tracker_->PostWrappedNestableTask(task_runner, Closure()) 192 const scoped_refptr<SequencedTaskRunner> task_runner = local 217 const scoped_refptr<SequencedTaskRunner> task_runner = local 250 const scoped_refptr<SequencedTaskRunner> task_runner = local 284 const scoped_refptr<SequencedTaskRunner> task_runner = local 312 const scoped_refptr<SequencedTaskRunner> task_runner = local 340 const scoped_refptr<SequencedTaskRunner> task_runner = local [all...] |
task_runner_test_template.h | 64 #include "base/task_runner.h" 126 scoped_refptr<TaskRunner> task_runner = this->delegate_.GetTaskRunner(); local 131 task_runner->PostTask(FROM_HERE, ith_task); 153 scoped_refptr<TaskRunner> task_runner = this->delegate_.GetTaskRunner(); local 158 task_runner->PostDelayedTask( 173 // Calls RunsTasksOnCurrentThread() on |task_runner| and expects it to 177 const scoped_refptr<TaskRunner>& task_runner); 192 scoped_refptr<TaskRunner> task_runner = this->delegate_.GetTaskRunner(); local 199 true, task_runner), 204 false, task_runner), [all...] |
/external/chromium_org/base/ |
thread_task_runner_handle.h | 28 // Binds |task_runner| to the current thread. |task_runner| must belong 31 const scoped_refptr<SingleThreadTaskRunner>& task_runner);
|
/external/chromium_org/cc/test/ |
scheduler_test_common.h | 33 base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner) { 35 task_runner)); 43 base::SingleThreadTaskRunner* task_runner) 44 : DelayBasedTimeSource(interval, task_runner) {}
|
/external/chromium_org/mojo/system/ |
test_utils.cc | 25 void PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, 29 task_runner->PostTask(from_here,
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_operation_context.cc | 21 base::SequencedTaskRunner* task_runner) 23 task_runner_(task_runner),
|
/external/chromium_org/remoting/host/win/ |
rdp_desktop_session.cc | 24 scoped_refptr<AutoThreadTaskRunner> task_runner = local 25 ChromotingModule::task_runner(); 26 DCHECK(task_runner->BelongsToCurrentThread()); 28 client_.reset(new RdpClient(task_runner, task_runner,
|
/external/chromium_org/net/quic/ |
quic_connection_helper.cc | 10 #include "base/task_runner.h" 23 base::TaskRunner* task_runner, 27 task_runner_(task_runner), 94 QuicConnectionHelper::QuicConnectionHelper(base::TaskRunner* task_runner, 98 task_runner_(task_runner),
|
/external/chromium_org/sync/util/ |
get_session_name.h | 21 const scoped_refptr<base::TaskRunner>& task_runner,
|
/external/chromium_org/cc/resources/ |
resource_update_controller_unittest.cc | 336 base::TestSimpleTaskRunner* task_runner, 340 client, task_runner, queue.Pass(), resource_provider)); 362 base::TestSimpleTaskRunner* task_runner, 366 client, task_runner, queue.Pass(), resource_provider), 376 static void RunPendingTask(base::TestSimpleTaskRunner* task_runner, 378 EXPECT_TRUE(task_runner->HasPendingTask()); 379 controller->SetNow(controller->Now() + task_runner->NextPendingTaskDelay()); 380 task_runner->RunPendingTasks(); 385 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 396 task_runner.get() 432 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local 472 scoped_refptr<base::TestSimpleTaskRunner> task_runner = local [all...] |