• Home
  • Raw
  • Download

Lines Matching refs:job

277   void set_job(Job* job) {  in set_job()  argument
278 DCHECK(job != NULL); in set_job()
280 job_ = job; in set_job()
295 Job* job() const { in job() function in net::HostResolverImpl::Request
865 void MoveRequestsToJob(Job* job) { in MoveRequestsToJob() argument
871 if (job->CanServiceRequest(req->info())) { in MoveRequestsToJob()
873 job->AddRequest(req); in MoveRequestsToJob()
1078 scoped_refptr<Job> job; in Resolve() local
1082 job = FindOutstandingJob(key); in Resolve()
1083 if (job) { in Resolve()
1084 job->AddRequest(req); in Resolve()
1115 if (!req->job()) { in CancelRequest()
1175 void HostResolverImpl::AddOutstandingJob(Job* job) { in AddOutstandingJob() argument
1176 scoped_refptr<Job>& found_job = jobs_[job->key()]; in AddOutstandingJob()
1178 found_job = job; in AddOutstandingJob()
1180 JobPool* pool = GetPoolForRequest(job->initial_request()); in AddOutstandingJob()
1191 void HostResolverImpl::RemoveOutstandingJob(Job* job) { in RemoveOutstandingJob() argument
1192 JobMap::iterator it = jobs_.find(job->key()); in RemoveOutstandingJob()
1194 DCHECK_EQ(it->second.get(), job); in RemoveOutstandingJob()
1197 JobPool* pool = GetPoolForRequest(job->initial_request()); in RemoveOutstandingJob()
1201 void HostResolverImpl::OnJobComplete(Job* job, in OnJobComplete() argument
1205 RemoveOutstandingJob(job); in OnJobComplete()
1209 cache_->Set(job->key(), net_error, addrlist, base::TimeTicks::Now()); in OnJobComplete()
1211 OnJobCompleteInternal(job, net_error, os_error, addrlist); in OnJobComplete()
1214 void HostResolverImpl::AbortJob(Job* job) { in AbortJob() argument
1215 OnJobCompleteInternal(job, ERR_ABORTED, 0 /* no os_error */, AddressList()); in AbortJob()
1219 Job* job, in OnJobCompleteInternal() argument
1226 cur_completing_job_ = job; in OnJobCompleteInternal()
1232 for (RequestsList::const_iterator it = job->requests().begin(); in OnJobCompleteInternal()
1233 it != job->requests().end(); ++it) { in OnJobCompleteInternal()
1236 DCHECK_EQ(job, req->job()); in OnJobCompleteInternal()
1248 if (job->was_cancelled()) in OnJobCompleteInternal()
1375 scoped_refptr<Job> job(CreateAndStartJob(top_req)); in ProcessQueuedRequests() local
1380 pool->MoveRequestsToJob(job); in ProcessQueuedRequests()
1405 scoped_refptr<Job> job(new Job(next_job_id_++, this, key, in CreateAndStartJob() local
1407 job->AddRequest(req); in CreateAndStartJob()
1408 AddOutstandingJob(job); in CreateAndStartJob()
1409 job->Start(); in CreateAndStartJob()
1411 return job.get(); in CreateAndStartJob()