Searched refs:ScopedClosureRunner (Results 1 – 11 of 11) sorted by relevance
9 ScopedClosureRunner::ScopedClosureRunner() = default;11 ScopedClosureRunner::ScopedClosureRunner(OnceClosure closure) in ScopedClosureRunner() function in base::ScopedClosureRunner14 ScopedClosureRunner::~ScopedClosureRunner() { in ~ScopedClosureRunner()19 ScopedClosureRunner::ScopedClosureRunner(ScopedClosureRunner&& other) in ScopedClosureRunner() function in base::ScopedClosureRunner22 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()
75 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);
38 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()
41 ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting( in OverrideForTesting()59 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting()72 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting()
39 static ScopedClosureRunner OverrideForTesting(
37 ScopedClosureRunner* cleanup_runner) { in IsCanceled()123 ScopedClosureRunner* untrack_and_delete_flag_runner = in NewTrackedTaskId()124 new ScopedClosureRunner(BindOnce( in NewTrackedTaskId()
133 ScopedClosureRunner capture_deleted_all_originally_pending(BindOnce( in Clear()140 BindOnce([](ScopedClosureRunner) {}, in Clear() argument
88 ScopedClosureRunner undo_override; in RunPendingTasks()
115 ScopedClosureRunner on_destroy_;
390 ScopedClosureRunner undo_override; in ProcessAllTasksNoLaterThan()
503 base::ScopedClosureRunner release_interface_cb_;