HomeSort by relevance Sort by last modified time
    Searched refs:TimeoutWaiter (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/chrome/test/remoting/
waiter.cc 11 TimeoutWaiter::TimeoutWaiter(base::TimeDelta timeout)
16 TimeoutWaiter::~TimeoutWaiter() {}
18 bool TimeoutWaiter::Wait() {
24 base::Bind(&TimeoutWaiter::CancelWaitCallback, base::Unretained(this)));
32 void TimeoutWaiter::CancelWait() {
36 void TimeoutWaiter::CancelWaitCallback() {
43 : TimeoutWaiter(timeout),
62 TimeoutWaiter::Wait()
    [all...]
waiter.h 20 class TimeoutWaiter {
22 explicit TimeoutWaiter(base::TimeDelta timeout);
23 virtual ~TimeoutWaiter();
26 // For TimeoutWaiter it should always be true.
33 // Callback used to cancel the TimeoutWaiter::Wait.
36 base::OneShotTimer<TimeoutWaiter> timeout_timer_;
40 DISALLOW_COPY_AND_ASSIGN(TimeoutWaiter);
45 class ConditionalTimeoutWaiter : public TimeoutWaiter {
me2me_browsertest.cc 87 ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromMilliseconds(300)).Wait());
100 ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(1)).Wait());
117 ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(5)).Wait());
remote_desktop_browsertest.cc 188 ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromMilliseconds(500)).Wait());
448 ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(2)).Wait());
660 TimeoutWaiter(base::TimeDelta::FromSeconds(2)).Wait();

Completed in 76 milliseconds