Lines Matching refs:job_
56 if (job_.get()) {
57 DCHECK(job_->is_delivering_network_response() ||
58 job_->cache_entry_not_found());
59 if (job_->cache_entry_not_found())
61 job_ = NULL;
82 if (job_.get() && job_->is_delivering_network_response()) {
83 DCHECK(!job_->has_been_started());
84 job_ = NULL;
87 return job_.get();
106 DCHECK(!job_.get()); // our jobs never generate redirects
111 job_ = new AppCacheURLRequestJob(request, network_delegate,
118 job_ = new AppCacheURLRequestJob(request, network_delegate,
125 return job_.get();
142 if (job_.get()) {
143 DCHECK(!job_->is_delivering_network_response());
165 job_ = new AppCacheURLRequestJob(request, network_delegate,
170 return job_.get();
175 if (job_.get() && job_->is_delivering_appcache_response()) {
176 *cache_id = job_->cache_id();
177 *manifest_url = job_->manifest_url();
204 if (job_.get()) {
205 job_->Kill();
206 job_ = NULL;
214 DCHECK(host_ && job_.get() && job_->is_waiting());
220 job_->DeliverAppCachedResponse(manifest_url, group_id, cache_id,
225 DCHECK(job_.get() && job_->is_waiting());
226 job_->DeliverErrorResponse();
230 DCHECK(job_.get() && job_->is_waiting());
231 job_->DeliverNetworkResponse();
238 DCHECK(!job_.get());
249 job_ = new AppCacheURLRequestJob(request, network_delegate,
259 DCHECK(job_.get());
266 if (!job_.get())
317 DCHECK(!job_.get());
323 job_ = new AppCacheURLRequestJob(request, network_delegate,
334 job_ = new AppCacheURLRequestJob(request, network_delegate,
343 DCHECK(job_.get());
346 const GURL& url = job_->request()->url();