Home
last modified time | relevance | path

Searched refs:EnumerateHeader (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/components/data_reduction_proxy/common/
Ddata_reduction_proxy_headers.cc63 while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { in GetDataReductionProxyActionValue()
88 while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { in ParseHeadersAndSetBypassDuration()
170 while (headers->EnumerateHeader(&iter, "via", &value)) { in HasDataReductionProxyViaHeader()
176 *has_intermediary = !(headers->EnumerateHeader(&iter, "via", &value)); in HasDataReductionProxyViaHeader()
185 while (headers->EnumerateHeader(&iter, "via", &value)) in HasDataReductionProxyViaHeader()
188 *has_intermediary = !(headers->EnumerateHeader(&iter, "via", &value)); in HasDataReductionProxyViaHeader()
296 while (headers->EnumerateHeader(&iter, kChromeProxyHeader, &value)) { in GetDataReductionProxyHeaderWithFingerprintRemoved()
/external/chromium_org/net/http/
Dhttp_response_headers.cc572 bool HttpResponseHeaders::EnumerateHeader(void** iter, in EnumerateHeader() function in net::HttpResponseHeaders
604 while (EnumerateHeader(&iter, name, &temp)) { in HasHeaderValue()
764 while (EnumerateHeader(&iter, name, &value)) { in GetCacheControlDirective()
822 while (EnumerateHeader(&iter, kCacheControl, &value)) { in AddNonCacheableHeaders()
898 while (EnumerateHeader(&iter, name, &value)) in GetMimeTypeAndCharset()
1126 if (!EnumerateHeader(NULL, "Age", &value)) in GetAgeValue()
1155 if (!EnumerateHeader(NULL, name, &value)) in GetTimeValuedHeader()
1180 if (!EnumerateHeader(NULL, "connection", &connection_val)) in IsKeepAlive()
1181 EnumerateHeader(NULL, "proxy-connection", &connection_val); in IsKeepAlive()
1198 EnumerateHeader(NULL, "etag", &etag_header); in HasStrongValidators()
[all …]
Dhttp_response_headers_unittest.cc536 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
538 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
540 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
542 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "cache-control", &value)); in TEST()
558 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
560 EXPECT_TRUE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
562 EXPECT_FALSE(parsed->EnumerateHeader(&iter, "WWW-Authenticate", &value)); in TEST()
577 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "date", &value)); in TEST()
579 EXPECT_TRUE(parsed->EnumerateHeader(NULL, "last-modified", &value)); in TEST()
Dhttp_auth.cc41 while (headers->EnumerateHeader(&iter, header_name, &cur_challenge)) { in ChooseBestChallenge()
77 while (headers->EnumerateHeader(&iter, header_name, &challenge)) { in HandleChallengeResponse()
Dhttp_auth_controller.cc33 while (headers->EnumerateHeader(&iter, "proxy-authenticate", &header_val)) { in AuthChallengeLogMessage()
39 while (headers->EnumerateHeader(&iter, "www-authenticate", &header_val)) { in AuthChallengeLogMessage()
48 while (headers->EnumerateHeader(&iter, "proxy-support", &header_val)) { in AuthChallengeLogMessage()
Dhttp_vary_data.cc37 while (response_headers.EnumerateHeader(&iter, name, &request_header)) { in Init()
Dhttp_response_headers.h170 bool EnumerateHeader(void** iter,
Dhttp_stream_parser.cc49 if (!headers.EnumerateHeader(&it, field_name, &field_value)) in HeadersContainMultipleCopiesOfField()
54 while (headers.EnumerateHeader(&it, field_name, &field_value2)) { in HeadersContainMultipleCopiesOfField()
/external/chromium_org/net/url_request/
Durl_request_http_job.cc107 return headers->EnumerateHeader(&iter, "Content-Disposition", disposition); in GetContentDisposition()
333 if (GetResponseHeaders()->EnumerateHeader(&iter, name, &url_text)) { in NotifyHeadersComplete()
731 while (headers->EnumerateHeader(&iter, name, &value)) { in FetchResponseCookies()
758 if (headers->EnumerateHeader(NULL, "Strict-Transport-Security", &value)) in ProcessStrictTransportSecurityHeader()
781 if (headers->EnumerateHeader(NULL, "Public-Key-Pins", &value)) in ProcessPublicKeyPinsHeader()
1018 while (headers->EnumerateHeader(&iter, "Content-Encoding", &encoding_type)) { in SetupFilter()
1030 while (headers->EnumerateHeader(&iter, "X-Sdch-Encode", in SetupFilter()
/external/chromium_org/content/browser/download/
Ddownload_resource_handler.cc216 if (!headers->EnumerateHeader(NULL, "Last-Modified", in OnResponseStarted()
219 if (!headers->EnumerateHeader(NULL, "ETag", &info->etag)) in OnResponseStarted()
434 request()->response_headers()->EnumerateHeader( in OnResponseCompleted()
/external/chromium_org/net/websockets/
Dwebsocket_basic_handshake_stream.cc103 while (headers->EnumerateHeader(&state, name, &temp_value)) { in GetSingleHeaderValue()
194 if (!headers->EnumerateHeader( in ValidateSubProtocol()
308 while (headers->EnumerateHeader( in ValidateExtensions()
/external/chromium_org/content/child/
Dsite_isolation_policy.cc185 info.headers->EnumerateHeader( in OnReceivedResponse()
192 info.headers->EnumerateHeader(NULL, "x-content-type-options", &no_sniff); in OnReceivedResponse()
Dweb_url_loader_impl.cc564 info.headers->EnumerateHeader(NULL, "content-type", &content_type); in OnReceivedResponse()
840 headers->EnumerateHeader(NULL, "content-disposition", &value); in PopulateURLResponse()
/external/chromium_org/components/captive_portal/
Dcaptive_portal_detector.cc99 if (!headers->EnumerateHeader(NULL, "Retry-After", &retry_after_string)) in GetCaptivePortalResultFromResponse()
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc312 fetch_state_.response_headers->EnumerateHeader(NULL, name, &value); in GetResponseHeaderValue()
390 !fetch_state_.response_headers->EnumerateHeader(NULL, "Sane-Time-Millis", in UpdateNetworkTime()
/external/chromium_org/content/browser/
Dtransition_request_manager.cc30 while (!rel_matched && headers->EnumerateHeader(iter, "link", &header_body)) { in EnumerateLinkHeaders()
/external/chromium_org/chrome/browser/safe_browsing/
Dtwo_phase_uploader.cc124 if (!source->GetResponseHeaders()->EnumerateHeader( in OnURLFetchComplete()
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_tamper_detection.cc378 while (headers->EnumerateHeader(&iter, header_name, &value)) { in GetHeaderValues()
/external/chromium_org/google_apis/drive/
Dbase_requests.cc465 source->GetResponseHeaders()->EnumerateHeader(NULL, in ProcessURLFetchResults()
541 hdrs->EnumerateHeader(NULL, kUploadResponseRange, &range_received); in ProcessURLFetchResults()
/external/chromium_org/net/tools/get_server_time/
Dget_server_time.cc286 while (headers->EnumerateHeader(&iter, "Date", &date_header)) { in main()
/external/chromium_org/components/autofill/core/browser/
Dautofill_download_manager.cc274 if (!source->GetResponseHeaders()->EnumerateHeader(NULL, "server", in OnURLFetchComplete()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_android.cc300 transition_data.response_headers->EnumerateHeader( in DidDeferAfterResponseStarted()
/external/chromium_org/content/browser/appcache/
Dappcache_update_job.cc260 headers->EnumerateHeader(NULL, last_modified, &last_modified_value); in AddConditionalHeaders()
269 headers->EnumerateHeader(NULL, etag, &etag_value); in AddConditionalHeaders()
1411 http_info->headers->EnumerateHeader(&iter, name, &value)) { in OnResponseInfoLoaded()
/external/chromium_org/android_webview/browser/net/
Dandroid_stream_reader_url_request_job_unittest.cc307 EXPECT_TRUE(req_->response_headers()->EnumerateHeader( in TEST_F()
/external/chromium_org/content/browser/fileapi/
Dblob_url_request_job_unittest.cc412 EXPECT_TRUE(request_->response_headers()->EnumerateHeader( in TEST_F()

12