Home
last modified time | relevance | path

Searched refs:TestSimpleTaskRunner (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/base/test/
Dtest_simple_task_runner.cc11 TestSimpleTaskRunner::TestSimpleTaskRunner() {} in TestSimpleTaskRunner() function in base::TestSimpleTaskRunner
13 TestSimpleTaskRunner::~TestSimpleTaskRunner() { in ~TestSimpleTaskRunner()
17 bool TestSimpleTaskRunner::PostDelayedTask( in PostDelayedTask()
28 bool TestSimpleTaskRunner::PostNonNestableDelayedTask( in PostNonNestableDelayedTask()
39 bool TestSimpleTaskRunner::RunsTasksOnCurrentThread() const { in RunsTasksOnCurrentThread()
45 TestSimpleTaskRunner::GetPendingTasks() const { in GetPendingTasks()
50 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask()
55 base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { in NextPendingTaskDelay()
60 void TestSimpleTaskRunner::ClearPendingTasks() { in ClearPendingTasks()
65 void TestSimpleTaskRunner::RunPendingTasks() { in RunPendingTasks()
[all …]
Dtest_simple_task_runner.h45 class TestSimpleTaskRunner : public SingleThreadTaskRunner {
47 TestSimpleTaskRunner();
75 virtual ~TestSimpleTaskRunner();
81 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
/external/chromium_org/cc/scheduler/
Ddelay_based_time_source_unittest.cc21 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
22 new base::TestSimpleTaskRunner; in TEST()
39 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
40 new base::TestSimpleTaskRunner; in TEST()
53 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
54 new base::TestSimpleTaskRunner; in TEST()
67 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
68 new base::TestSimpleTaskRunner; in TEST()
84 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
85 new base::TestSimpleTaskRunner; in TEST()
[all …]
/external/chromium_org/base/task/
Dcancelable_task_tracker_unittest.cc110 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
111 new TestSimpleTaskRunner()); in TEST_F()
128 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
129 new TestSimpleTaskRunner()); in TEST_F()
147 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
148 new TestSimpleTaskRunner()); in TEST_F()
216 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
217 new TestSimpleTaskRunner()); in TEST_F()
245 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
246 new TestSimpleTaskRunner()); in TEST_F()
[all …]
/external/chromium_org/extensions/common/
Done_shot_event_unittest.cc27 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST()
28 new base::TestSimpleTaskRunner); in TEST()
45 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST()
46 new base::TestSimpleTaskRunner); in TEST()
59 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST()
60 new base::TestSimpleTaskRunner); in TEST()
87 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST()
88 new base::TestSimpleTaskRunner); in TEST()
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc359 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST_F()
360 new base::TestSimpleTaskRunner()); in TEST_F()
384 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST_F()
385 new base::TestSimpleTaskRunner()); in TEST_F()
436 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST_F()
437 new base::TestSimpleTaskRunner()); in TEST_F()
484 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST_F()
485 new base::TestSimpleTaskRunner()); in TEST_F()
531 scoped_refptr<base::TestSimpleTaskRunner> runner( in TEST_F()
532 new base::TestSimpleTaskRunner()); in TEST_F()
[all …]
Dincident_report_uploader_impl_unittest.cc30 : task_runner_(new base::TestSimpleTaskRunner), in IncidentReportUploaderImplTest()
33 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_config_service_unittest.cc198 scoped_refptr<base::TestSimpleTaskRunner> task_runner_( in TEST_F()
199 new base::TestSimpleTaskRunner()); in TEST_F()
222 scoped_refptr<base::TestSimpleTaskRunner> task_runner_( in TEST_F()
223 new base::TestSimpleTaskRunner()); in TEST_F()
247 scoped_refptr<base::TestSimpleTaskRunner> task_runner_( in TEST_F()
248 new base::TestSimpleTaskRunner()); in TEST_F()
267 scoped_refptr<base::TestSimpleTaskRunner> task_runner_( in TEST_F()
268 new base::TestSimpleTaskRunner()); in TEST_F()
/external/chromium_org/components/sync_driver/
Dnon_blocking_data_type_controller_unittest.cc79 const scoped_refptr<base::TestSimpleTaskRunner>& model_task_runner, in MockSyncCoreProxy()
80 const scoped_refptr<base::TestSimpleTaskRunner>& sync_task_runner) in MockSyncCoreProxy()
115 scoped_refptr<base::TestSimpleTaskRunner> model_task_runner_;
116 scoped_refptr<base::TestSimpleTaskRunner> sync_task_runner_;
125 model_thread_(new base::TestSimpleTaskRunner()), in NonBlockingDataTypeControllerTest()
126 sync_thread_(new base::TestSimpleTaskRunner()), in NonBlockingDataTypeControllerTest()
186 scoped_refptr<base::TestSimpleTaskRunner> model_thread_;
187 scoped_refptr<base::TestSimpleTaskRunner> sync_thread_;
/external/chromium_org/device/bluetooth/
Dbluetooth_task_manager_win_unittest.cc64 : ui_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothTaskManagerWinTest()
65 bluetooth_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothTaskManagerWinTest()
84 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_;
85 scoped_refptr<base::TestSimpleTaskRunner> bluetooth_task_runner_;
Dbluetooth_adapter_mac_unittest.mm16 : ui_task_runner_(new base::TestSimpleTaskRunner()),
23 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_;
Dbluetooth_adapter_win_unittest.cc92 : ui_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothAdapterWinTest()
93 bluetooth_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothAdapterWinTest()
147 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_;
148 scoped_refptr<base::TestSimpleTaskRunner> bluetooth_task_runner_;
/external/chromium_org/cc/resources/
Dresource_update_controller_unittest.cc339 base::TestSimpleTaskRunner* task_runner, in Create()
365 base::TestSimpleTaskRunner* task_runner, in FakeResourceUpdateController()
379 static void RunPendingTask(base::TestSimpleTaskRunner* task_runner, in RunPendingTask()
388 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST_F()
389 new base::TestSimpleTaskRunner; in TEST_F()
435 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST_F()
436 new base::TestSimpleTaskRunner; in TEST_F()
476 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST_F()
477 new base::TestSimpleTaskRunner; in TEST_F()
/external/chromium_org/content/browser/
Dbyte_stream_unittest.cc317 scoped_refptr<base::TestSimpleTaskRunner> task_runner( in TEST_F()
318 new base::TestSimpleTaskRunner()); in TEST_F()
369 scoped_refptr<base::TestSimpleTaskRunner> task_runner( in TEST_F()
370 new base::TestSimpleTaskRunner()); in TEST_F()
431 scoped_refptr<base::TestSimpleTaskRunner> task_runner( in TEST_F()
432 new base::TestSimpleTaskRunner()); in TEST_F()
478 scoped_refptr<base::TestSimpleTaskRunner> task_runner( in TEST_F()
479 new base::TestSimpleTaskRunner()); in TEST_F()
530 scoped_refptr<base::TestSimpleTaskRunner> task_runner( in TEST_F()
531 new base::TestSimpleTaskRunner()); in TEST_F()
/external/chromium_org/components/policy/core/common/cloud/
Dpolicy_header_io_helper_unittest.cc21 task_runner_ = make_scoped_refptr(new base::TestSimpleTaskRunner()); in PolicyHeaderIOHelperTest()
46 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
Drate_limiter_unittest.cc19 : task_runner_(new base::TestSimpleTaskRunner()), in RateLimiterTest()
37 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
Dpolicy_header_service_unittest.cc36 task_runner_ = make_scoped_refptr(new base::TestSimpleTaskRunner()); in PolicyHeaderServiceTest()
87 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
Dexternal_policy_data_fetcher_unittest.cc52 scoped_refptr<base::TestSimpleTaskRunner> owner_task_runner_;
53 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_;
76 io_task_runner_ = new base::TestSimpleTaskRunner(); in SetUp()
77 owner_task_runner_ = new base::TestSimpleTaskRunner(); in SetUp()
Dresource_cache_unittest.cc40 make_scoped_refptr(new base::TestSimpleTaskRunner)); in TEST()
122 make_scoped_refptr(new base::TestSimpleTaskRunner)); in TEST()
/external/chromium_org/components/domain_reliability/
Duploader_unittest.cc27 : network_task_runner_(new base::TestSimpleTaskRunner()), in DomainReliabilityUploaderTest()
45 scoped_refptr<base::TestSimpleTaskRunner> network_task_runner_;
/external/chromium_org/cc/test/
Dordered_simple_task_runner.h17 class OrderedSimpleTaskRunner : public base::TestSimpleTaskRunner {
/external/chromium_org/chrome/browser/chromeos/policy/
Dserver_backed_state_keys_broker_unittest.cc21 : task_runner_(new base::TestSimpleTaskRunner()), in ServerBackedStateKeysBrokerTest()
50 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
Dcloud_external_data_store_unittest.cc40 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
50 task_runner_(new base::TestSimpleTaskRunner) { in CouldExternalDataStoreTest()
Duser_cloud_policy_manager_chromeos_unittest.cc85 task_runner_(new base::TestSimpleTaskRunner()), in UserCloudPolicyManagerChromeOSTest()
329 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
564 base::Bind(&base::TestSimpleTaskRunner::RunUntilIdle, task_runner_)); in TEST_F()
587 base::Bind(&base::TestSimpleTaskRunner::RunUntilIdle, task_runner_)); in TEST_F()
/external/chromium_org/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc77 task_runner_(new base::TestSimpleTaskRunner()) { in PolicyStatisticsCollectorTest()
131 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;

12