Lines Matching refs:MessageLoop
30 using brillo::MessageLoop;
36 CHECK(timeout_id_ == MessageLoop::kTaskIdNull) in ~MockHttpFetcher()
64 if (timeout_id_ == MessageLoop::kTaskIdNull && delay_) { in SendData()
65 CHECK(MessageLoop::current()); in SendData()
66 timeout_id_ = MessageLoop::current()->PostDelayedTask( in SendData()
87 timeout_id_ = MessageLoop::kTaskIdNull; in TimeoutCallback()
99 if (timeout_id_ != MessageLoop::kTaskIdNull) { in TerminateTransfer()
100 MessageLoop::current()->CancelTask(timeout_id_); in TerminateTransfer()
101 timeout_id_ = MessageLoop::kTaskIdNull; in TerminateTransfer()
123 MessageLoop::current()->CancelTask(timeout_id_); in Pause()
124 timeout_id_ = MessageLoop::kTaskIdNull; in Pause()