Home
last modified time | relevance | path

Searched refs:ScopedClosureRunner (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/
Dcallback_helpers.cc9 ScopedClosureRunner::ScopedClosureRunner() = default;
11 ScopedClosureRunner::ScopedClosureRunner(OnceClosure closure) in ScopedClosureRunner() function in base::ScopedClosureRunner
14 ScopedClosureRunner::~ScopedClosureRunner() { in ~ScopedClosureRunner()
19 ScopedClosureRunner::ScopedClosureRunner(ScopedClosureRunner&& other) in ScopedClosureRunner() function in base::ScopedClosureRunner
22 ScopedClosureRunner& ScopedClosureRunner::operator=( in operator =()
23 ScopedClosureRunner&& other) { in operator =()
28 void ScopedClosureRunner::RunAndReset() { in RunAndReset()
32 void ScopedClosureRunner::ReplaceClosure(OnceClosure closure) { in ReplaceClosure()
36 OnceClosure ScopedClosureRunner::Release() { in Release()
Dcallback_helpers.h75 class BASE_EXPORT ScopedClosureRunner {
77 ScopedClosureRunner();
78 explicit ScopedClosureRunner(OnceClosure closure);
79 ~ScopedClosureRunner();
81 ScopedClosureRunner(ScopedClosureRunner&& other);
85 ScopedClosureRunner& operator=(ScopedClosureRunner&& other);
99 DISALLOW_COPY_AND_ASSIGN(ScopedClosureRunner);
Dcallback_helpers_unittest.cc38 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST()
48 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST()
61 base::ScopedClosureRunner runner; in TEST()
74 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3)); in TEST()
85 std::unique_ptr<base::ScopedClosureRunner> runner( in TEST()
86 new base::ScopedClosureRunner(base::Bind(&Increment, &run_count))); in TEST()
87 base::ScopedClosureRunner runner2(std::move(*runner)); in TEST()
98 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_1)); in TEST()
100 base::ScopedClosureRunner runner2(base::Bind(&Increment, &run_count_2)); in TEST()
/external/libchrome/base/threading/
Dthread_task_runner_handle.cc41 ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting( in OverrideForTesting()
59 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting()
72 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting()
Dthread_task_runner_handle.h39 static ScopedClosureRunner OverrideForTesting(
/external/libchrome/base/task/
Dcancelable_task_tracker.cc37 ScopedClosureRunner* cleanup_runner) { in IsCanceled()
123 ScopedClosureRunner* untrack_and_delete_flag_runner = in NewTrackedTaskId()
124 new ScopedClosureRunner(BindOnce( in NewTrackedTaskId()
/external/libchrome/base/message_loop/
Dincoming_task_queue.cc133 ScopedClosureRunner capture_deleted_all_originally_pending(BindOnce( in Clear()
140 BindOnce([](ScopedClosureRunner) {}, in Clear() argument
/external/libchrome/base/test/
Dtest_simple_task_runner.cc88 ScopedClosureRunner undo_override; in RunPendingTasks()
Dtest_mock_time_task_runner.h115 ScopedClosureRunner on_destroy_;
Dtest_mock_time_task_runner.cc390 ScopedClosureRunner undo_override; in ProcessAllTasksNoLaterThan()
/external/libbrillo/brillo/dbus/
Ddbus_object.h503 base::ScopedClosureRunner release_interface_cb_;