Home | History | Annotate | Download | only in base

Lines Matching refs:job

23 // HostResolverImpl::Job. This job gets dispatched to a thread in the global
25 // host are made while the job is already outstanding, then they are attached
26 // to the existing job rather than creating a new one. This avoids doing
34 // Job Job Job
41 // When a HostResolverImpl::Job finishes its work in the threadpool, the
56 // The index into |job_pools_| for the various job pools. Pools with a higher
132 class Job;
138 typedef std::map<Key, scoped_refptr<Job> > JobMap;
147 // Adds a job to outstanding jobs list.
148 void AddOutstandingJob(Job* job);
150 // Returns the outstanding job for |key|, or NULL if there is none.
151 Job* FindOutstandingJob(const Key& key);
153 // Removes |job| from the outstanding jobs list.
154 void RemoveOutstandingJob(Job* job);
156 // Callback for when |job| has completed with |net_error| and |addrlist|.
157 void OnJobComplete(Job* job, int net_error, int os_error,
160 // Aborts |job|. Same as OnJobComplete() except does not remove |job|
162 void AbortJob(Job* job);
165 void OnJobCompleteInternal(Job* job, int net_error, int os_error,
188 // Notify IPv6ProbeJob not to call back, and discard reference to the job.
194 // Returns true if the constraints for |pool| are met, and a new job can be
205 // Starts up to 1 job given the current pool constraints. This job
214 // Attaches |req| to a new job, and starts it. Returns that job.
215 Job* CreateAndStartJob(Request* req);
232 // Map from hostname to outstanding job.
242 // The job that OnJobComplete() is currently processing (needed in case
244 scoped_refptr<Job> cur_completing_job_;
253 // Monotonically increasing ID number to assign to the next job.