Lines Matching refs:request_
26 : request_(request),
56 if (request_)
61 request_ = NULL;
144 HttpResponseHeaders* headers = request_->response_headers();
152 *location = request_->url().Resolve(value);
245 if (!request_)
248 request_->NotifyCertificateRequested(cert_request_info);
253 if (!request_)
256 request_->NotifySSLCertificateError(ssl_info, fatal);
260 if (!request_)
263 return request_->CanGetCookies(cookie_list);
268 if (!request_)
271 return request_->CanSetCookie(cookie_line, options);
275 if (!request_)
278 return request_->CanEnablePrivacyMode();
282 if (!request_ || !request_->has_delegate())
288 DCHECK(!request_->status().is_io_pending());
293 request_->response_info_.response_time = base::Time::Now();
294 GetResponseInfo(&request_->response_info_);
303 if (request_)
304 request_->OnHeadersComplete();
309 const GURL& url = request_->url();
323 request_->NotifyReceivedRedirect(new_location, &defer_redirect);
327 if (!request_ || !request_->has_delegate())
331 if (request_->status().is_success()) {
347 request_->NotifyAuthRequired(auth_info.get());
354 if (request_->status().is_success())
359 request_->GetResponseHeaderByName("content-length", &content_length);
364 request_->NotifyResponseStarted();
368 if (!request_ || !request_->has_delegate())
373 //DCHECK(!request_->status().is_io_pending());
381 if (!request_->status().is_success())
400 request_->NotifyReadCompleted(filter_bytes_read);
403 request_->NotifyReadCompleted(bytes_read);
406 << "\"" << (request_ ? request_->url().spec() : "???") << "\""
415 if (request_) {
416 request_->set_status(status);
417 request_->NotifyResponseStarted();
433 if (request_) {
434 request_->set_is_pending(false);
441 if (request_->status().is_success()) {
443 request_->net_log().AddEventWithNetErrorCode(NetLog::TYPE_FAILED,
446 request_->set_status(status);
460 if (request_ &&
461 !request_->status().is_success() &&
462 request_->has_delegate()) {
467 request_->NotifyReadCompleted(-1);
470 request_->NotifyResponseStarted();
484 request_->Restart();
488 request_->SetBlockedOnDelegate();
492 request_->SetUnblockedOnDelegate();
596 << "\"" << (request_ ? request_->url().spec() : "???") << "\""
612 << "\"" << (request_ ? request_->url().spec() : "???") << "\""
640 if (request_)
641 return request_->status();
648 if (request_)
649 request_->set_status(status);
673 DCHECK(!request_->status().is_io_pending());
682 if (!request_->status().is_io_pending()) {
701 int rv = request_->Redirect(location, http_status_code);
720 << "\"" << (request_ ? request_->url().spec() : "???") << "\""
726 network_delegate_->NotifyRawBytesRead(*request_, bytes_read);