Home
last modified time | relevance | path

Searched refs:http_info (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/content/browser/service_worker/
Dservice_worker_read_from_cache_job.cc81 if (!http_info()) in GetCharset()
83 return http_info()->headers->GetCharset(charset); in GetCharset()
87 if (!http_info()) in GetMimeType()
89 return http_info()->headers->GetMimeType(mime_type); in GetMimeType()
94 if (!http_info()) in GetResponseInfo()
96 *info = *http_info(); in GetResponseInfo()
100 if (!http_info()) in GetResponseCode()
102 return http_info()->headers->response_code(); in GetResponseCode()
138 const net::HttpResponseInfo* ServiceWorkerReadFromCacheJob::http_info() const { in http_info() function in content::ServiceWorkerReadFromCacheJob
148 if (!http_info_io_buffer_->http_info) { in OnReadInfoComplete()
[all …]
Dservice_worker_write_to_cache_job.cc89 if (!http_info()) in GetCharset()
91 return http_info()->headers->GetCharset(charset); in GetCharset()
95 if (!http_info()) in GetMimeType()
97 return http_info()->headers->GetMimeType(mime_type); in GetMimeType()
102 if (!http_info()) in GetResponseInfo()
104 *info = *http_info(); in GetResponseInfo()
108 if (!http_info()) in GetResponseCode()
110 return http_info()->headers->response_code(); in GetResponseCode()
137 const net::HttpResponseInfo* ServiceWorkerWriteToCacheJob::http_info() const { in http_info() function in content::ServiceWorkerWriteToCacheJob
226 http_info_.reset(info_buffer_->http_info.release()); in OnWriteHeadersComplete()
Dservice_worker_url_request_job.cc78 if (!http_info()) in GetCharset()
80 return http_info()->headers->GetCharset(charset); in GetCharset()
84 if (!http_info()) in GetMimeType()
86 return http_info()->headers->GetMimeType(mime_type); in GetMimeType()
90 if (!http_info()) in GetResponseInfo()
92 *info = *http_info(); in GetResponseInfo()
102 if (!http_info()) in GetResponseCode()
104 return http_info()->headers->response_code(); in GetResponseCode()
186 const net::HttpResponseInfo* ServiceWorkerURLRequestJob::http_info() const { in http_info() function in content::ServiceWorkerURLRequestJob
Dservice_worker_read_from_cache_job.h56 const net::HttpResponseInfo* http_info() const;
Dservice_worker_write_to_cache_job.h68 const net::HttpResponseInfo* http_info() const;
Dservice_worker_url_request_job.h89 const net::HttpResponseInfo* http_info() const;
Dservice_worker_storage_unittest.cc169 info_buffer->http_info->headers->GetStatusText(); in VerifyBasicResponse()
/external/chromium_org/content/browser/appcache/
Dappcache_url_request_job.cc301 const net::HttpResponseInfo* AppCacheURLRequestJob::http_info() const { in http_info() function in content::AppCacheURLRequestJob
398 if (!http_info()) in GetMimeType()
400 return http_info()->headers->GetMimeType(mime_type); in GetMimeType()
404 if (!http_info()) in GetCharset()
406 return http_info()->headers->GetCharset(charset); in GetCharset()
410 if (!http_info()) in GetResponseInfo()
412 *info = *http_info(); in GetResponseInfo()
416 if (!http_info()) in GetResponseCode()
418 return http_info()->headers->response_code(); in GetResponseCode()
Dappcache_response.cc52 int64 response_id, net::HttpResponseInfo* http_info, in AppCacheResponseInfo() argument
55 http_response_info_(http_info), response_data_size_(response_data_size), in AppCacheResponseInfo()
57 DCHECK(http_info); in AppCacheResponseInfo()
72 : http_info(info), response_data_size(kUnkownResponseDataSize) {} in HttpResponseInfoIOBuffer()
156 DCHECK(!info_buf->http_info.get()); in ReadInfo()
232 info_buffer_->http_info.reset(info.release()); in OnIOComplete()
303 DCHECK(info_buf->http_info.get()); in WriteInfo()
306 DCHECK(info_buf->http_info->headers.get()); in WriteInfo()
322 info_buffer_->http_info->Persist(pickle, kSkipTransientHeaders, kTruncated); in ContinueWriteInfo()
Dappcache_response.h35 int64 response_id, net::HttpResponseInfo* http_info,
60 scoped_ptr<net::HttpResponseInfo> http_info; member
Dappcache_update_job.cc1383 const net::HttpResponseInfo* http_info = response_info ? in OnResponseInfoLoaded() local
1388 if (http_info) in OnResponseInfoLoaded()
1390 http_info->headers.get()); in OnResponseInfoLoaded()
1399 if (!http_info) { in OnResponseInfoLoaded()
1407 if (!http_info->headers.get() || in OnResponseInfoLoaded()
1408 http_info->headers->RequiresValidation(http_info->request_time, in OnResponseInfoLoaded()
1409 http_info->response_time, in OnResponseInfoLoaded()
1411 http_info->headers->EnumerateHeader(&iter, name, &value)) { in OnResponseInfoLoaded()
Dappcache_url_request_job.h127 const net::HttpResponseInfo* http_info() const;
Dappcache_storage.cc75 info_buffer_->http_info.release(), in OnReadComplete()
Dappcache_url_request_job_unittest.cc618 write_info_buffer_->http_info.get(), in VerifyDeliverSmallAppCachedResponse()
665 write_info_buffer_->http_info.get(), in VerifyDeliverLargeAppCachedResponse()
Dappcache_service_unittest.cc47 info_buffer_->http_info.reset(info_.release()); in ReadInfo()
Dappcache_response_unittest.cc369 write_info_buffer_->http_info.get(), in LoadResponseInfo_Hit_Verify()
Dappcache_update_job_unittest.cc3085 net::HttpResponseInfo* http_info = new net::HttpResponseInfo(); in MakeAppCacheResponseInfo() local
3086 http_info->headers = new net::HttpResponseHeaders(raw_headers); in MakeAppCacheResponseInfo()
3089 response_id, http_info, 0)); in MakeAppCacheResponseInfo()