Searched refs:user_task (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/timer/ |
D | timer.h | 98 const base::Closure& user_task, 102 const base::Closure& user_task, 125 const base::Closure& user_task); 155 const base::Closure& user_task() const { return user_task_; } in user_task() function 260 RepeatingClosure user_task) in RepeatingTimer() argument 261 : Timer(posted_from, delay, std::move(user_task), true) {} in RepeatingTimer() 264 RepeatingClosure user_task, in RepeatingTimer() argument 266 : Timer(posted_from, delay, std::move(user_task), true, tick_clock) {} in RepeatingTimer() 280 RepeatingClosure user_task) in RetainingOneShotTimer() argument 281 : Timer(posted_from, delay, std::move(user_task), false) {} in RetainingOneShotTimer() [all …]
|
D | timer.cc | 82 const base::Closure& user_task, in Timer() argument 84 : Timer(posted_from, delay, user_task, is_repeating, nullptr) {} in Timer() 88 const base::Closure& user_task, in Timer() argument 94 user_task_(user_task), in Timer() 132 const base::Closure& user_task) { in Start() argument 137 user_task_ = user_task; in Start() 273 OnceClosure task = user_task(); in FireNow() 275 DCHECK(!user_task()); in FireNow()
|
D | timer_unittest.cc | 612 EXPECT_TRUE(timer.user_task().is_null()); in TEST() 623 ASSERT_FALSE(timer.user_task().is_null()); in TEST() 638 EXPECT_TRUE(timer.user_task().is_null()); in TEST() 716 ASSERT_FALSE(timer.user_task().is_null()); in TEST()
|
/external/libchrome/components/timers/ |
D | alarm_timer_chromeos.cc | 52 DCHECK(!base::RetainingOneShotTimer::user_task().is_null()); in Reset() 72 base::RetainingOneShotTimer::user_task(), in Reset()
|