Lines Matching refs:job_
141 if (job_) in ~URLRequest()
241 return job_ ? job_->GetLoadState() : LOAD_STATE_IDLE; in GetLoadState()
245 if (!job_) { in GetUploadProgress()
255 return job_->GetUploadProgress(); in GetUploadProgress()
259 DCHECK(job_); in GetResponseHeaderById()
282 DCHECK(job_); in GetSocketAddress()
283 return job_->GetSocketAddress(); in GetSocketAddress()
291 DCHECK(job_); in GetResponseCookies()
292 return job_->GetResponseCookies(cookies); in GetResponseCookies()
296 DCHECK(job_); in GetMimeType()
297 job_->GetMimeType(mime_type); in GetMimeType()
301 DCHECK(job_); in GetCharset()
302 job_->GetCharset(charset); in GetCharset()
306 DCHECK(job_); in GetResponseCode()
307 return job_->GetResponseCode(); in GetResponseCode()
384 DCHECK(!job_); in BeforeRequestComplete()
405 DCHECK(!job_); in StartJob()
412 job_ = job; in StartJob()
413 job_->SetExtraRequestHeaders(extra_request_headers_); in StartJob()
416 job_->SetUpload(upload_.get()); in StartJob()
426 job_->Start(); in StartJob()
431 DCHECK(job_ && !job_->has_response_started()); in Restart()
451 if (!is_pending_ || !job_ || job_->has_response_started()) { in SimulateSSLError()
470 if (!is_pending_ || !job_) in DoCancel()
473 job_->Kill(); in DoCancel()
481 DCHECK(job_); in Read()
483 DCHECK(!job_->is_done()); in Read()
497 return job_->Read(dest, dest_size, bytes_read); in Read()
501 DCHECK(job_); in StopCaching()
502 job_->StopCaching(); in StopCaching()
535 CHECK(job_); in FollowDeferredRedirect()
538 job_->FollowDeferredRedirect(); in FollowDeferredRedirect()
542 DCHECK(job_); in SetAuth()
543 DCHECK(job_->NeedsAuth()); in SetAuth()
545 job_->SetAuth(username, password); in SetAuth()
549 DCHECK(job_); in CancelAuth()
550 DCHECK(job_->NeedsAuth()); in CancelAuth()
552 job_->CancelAuth(); in CancelAuth()
556 DCHECK(job_); in ContinueWithCertificate()
558 job_->ContinueWithCertificate(client_cert); in ContinueWithCertificate()
562 DCHECK(job_); in ContinueDespiteLastError()
564 job_->ContinueDespiteLastError(); in ContinueDespiteLastError()
568 DCHECK(job_); in PrepareToRestart()
583 job_->Kill(); in OrphanJob()
584 job_->DetachRequest(); // ensures that the job will not call us again in OrphanJob()
585 job_ = NULL; in OrphanJob()
603 if (!job_->IsSafeRedirect(location)) { in Redirect()
638 final_upload_progress_ = job_->GetUploadProgress(); in Redirect()
669 if (job_) in GetExpectedContentSize()
670 expected_content_size = job_->expected_content_size(); in GetExpectedContentSize()