Lines Matching refs:wait_time
153 void WaitForWaitStateChange(TimeDelta wait_time, WaitState expected_state) {
155 TimeTicks end_time = TimeTicks::Now() + wait_time;
163 void VeryLongMethod(TimeDelta wait_time) {
165 WaitForWaitStateChange(wait_time, STOPPED_WAITING);
169 State WaitForStateChange(const TimeDelta& wait_time, State expected_state) {
175 // object's state changes to the expected_state or until wait_time elapses.
177 TimeTicks end_time = TimeTicks::Now() + wait_time;
196 CheckResponseState WaitForCheckResponse(const TimeDelta& wait_time,
204 // wait_time elapses.
206 TimeTicks end_time = TimeTicks::Now() + wait_time;