Searched refs:fake_now (Results 1 – 3 of 3) sorted by relevance
326 TimeTicks fake_now() const { in fake_now() function in net::__anonda1e81fb0111::MockURLRequestThrottlerEntry434 if (throttler_entry_->fake_now() - time_of_last_attempt_ > in PerformAction()449 throttler_entry_->fake_now() - time_of_last_success_; in PerformAction()452 time_of_last_success_ = throttler_entry_->fake_now(); in PerformAction()465 time_of_last_attempt_ = throttler_entry_->fake_now(); in PerformAction()
46 const TimeTicks& fake_now) in MockURLRequestThrottlerEntry() argument48 fake_time_now_(fake_now), in MockURLRequestThrottlerEntry()52 mock_backoff_entry_.set_fake_now(fake_now); in MockURLRequestThrottlerEntry()
1389 void SetCurrentPhysicalTimeTicksForTest(base::TimeTicks fake_now) { in SetCurrentPhysicalTimeTicksForTest() argument1390 fake_current_physical_time_ = fake_now; in SetCurrentPhysicalTimeTicksForTest()1454 base::TimeTicks fake_now = gfx::FrameTime::Now(); in TEST_F() local1478 host_impl_->Animate(fake_now); in TEST_F()1482 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()1512 base::TimeTicks fake_now = gfx::FrameTime::Now(); in TEST_F() local1536 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()1556 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()1557 host_impl_->Animate(fake_now); in TEST_F()