Home | History | Annotate | Download | only in base

Lines Matching refs:state_

144     : state_(NULL),
190 state.run_depth = state_ ? state_->run_depth + 1 : 1;
193 RunState* previous_state = state_;
194 state_ = &state;
211 if (state_->should_quit)
214 more_work_is_plausible |= state_->delegate->DoWork();
215 if (state_->should_quit)
219 state_->delegate->DoDelayedWork(&delayed_work_time_);
220 if (state_->should_quit)
226 more_work_is_plausible = state_->delegate->DoIdleWork();
227 if (state_->should_quit)
231 state_ = previous_state;
243 if (state_ && // state_ may be null during tests.
244 state_->has_work)
253 if (!state_) // state_ may be null during tests.
267 state_->has_work = true;
270 if (state_->has_work)
283 state_->has_work = false;
284 if (state_->delegate->DoWork()) {
289 state_->has_work = true;
292 if (state_->should_quit)
295 state_->delegate->DoDelayedWork(&delayed_work_time_);
308 if (state_ && state_->dispatcher) { // state_ may be null during tests.
309 if (!state_->dispatcher->Dispatch(event))
310 state_->should_quit = true;
322 if (state_) {
323 state_->should_quit = true;
347 return state_ ? state_->dispatcher : NULL;