Home
last modified time | relevance | path

Searched refs:MockTimer (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/base/timer/
Dmock_timer.cc9 MockTimer::MockTimer(bool retain_user_task, bool is_repeating) in MockTimer() function in base::MockTimer
14 MockTimer::MockTimer(const tracked_objects::Location& posted_from, in MockTimer() function in base::MockTimer
23 MockTimer::~MockTimer() { in ~MockTimer()
26 bool MockTimer::IsRunning() const { in IsRunning()
30 base::TimeDelta MockTimer::GetCurrentDelay() const { in GetCurrentDelay()
34 void MockTimer::Start(const tracked_objects::Location& posted_from, in Start()
42 void MockTimer::Stop() { in Stop()
48 void MockTimer::Reset() { in Reset()
53 void MockTimer::Fire() { in Fire()
Dmock_timer.h12 class BASE_EXPORT MockTimer : public Timer {
14 MockTimer(bool retain_user_task, bool is_repeating);
15 MockTimer(const tracked_objects::Location& posted_from,
19 virtual ~MockTimer();
Dmock_timer_unittest.cc17 base::MockTimer timer(false, false); in TEST()
31 base::MockTimer timer(true, true); in TEST()
46 base::MockTimer timer(true, true); in TEST()
71 base::MockTimer timer(false, false); in TEST()
/external/chromium_org/components/domain_reliability/
Dtest_util.cc17 class MockTimer : public MockableTime::Timer { class
19 MockTimer(MockTime* time) in MockTimer() function in domain_reliability::__anon6d6294750111::MockTimer
27 virtual ~MockTimer() {} in ~MockTimer()
40 base::Bind(&MockTimer::OnDelayPassed, in Start()
72 base::WeakPtrFactory<MockTimer> weak_factory_;
114 return scoped_ptr<MockableTime::Timer>(new MockTimer(this)); in CreateTimer()
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
Drendering_stats_unittest.py21 class MockTimer(object): class
201 timer = MockTimer()
224 timer = MockTimer()
275 timer = MockTimer()
375 timer = MockTimer()
/external/chromium_org/remoting/host/
Dgnubby_auth_handler_posix_unittest.cc142 base::MockTimer* mock_timer = new base::MockTimer(false, false); in TEST_F()
/external/chromium_org/tools/telemetry/telemetry/unittest/
Dgtest_unittest_results_unittest.py60 self._mock_timer = simple_mock.MockTimer()
Dsimple_mock.py101 class MockTimer(object): class
/external/chromium_org/tools/telemetry/telemetry/results/
Dgtest_test_results_unittest.py36 self._mock_timer = simple_mock.MockTimer()
/external/chromium_org/chrome/renderer/net/
Dnet_error_helper_core_unittest.cc173 timer_ = new base::MockTimer(false, false); in SetUpCore()
226 base::MockTimer* timer() { return timer_; } in timer()
387 base::MockTimer* timer_;