Lines Matching refs:job
62 void WebSocketThrottle::PutInQueue(WebSocketJob* job) {
63 queue_.push_back(job);
64 const AddressList& address_list = job->address_list();
79 queue->push_back(job);
82 iter->second->push_back(job);
83 job->SetWaiting();
89 void WebSocketThrottle::RemoveFromQueue(WebSocketJob* job) {
94 if (*iter == job) {
102 const AddressList& address_list = job->address_list();
117 // Job may not be front of queue when job is closed early while waiting.
121 if (*iter == job) {
137 WebSocketJob* job = *iter;
138 if (!job->IsWaiting())
142 const AddressList& address_list = job->address_list();
150 if (job != queue->front()) {
156 job->Wakeup();