/external/chromium_org/net/http/ |
D | http_request_headers_unittest.cc | 15 TEST(HttpRequestHeaders, HasHeader) { in TEST() argument 16 HttpRequestHeaders headers; in TEST() 22 const HttpRequestHeaders& headers_ref = headers; in TEST() 28 TEST(HttpRequestHeaders, SetHeader) { in TEST() argument 29 HttpRequestHeaders headers; in TEST() 34 TEST(HttpRequestHeaders, SetMultipleHeaders) { in TEST() argument 35 HttpRequestHeaders headers; in TEST() 42 TEST(HttpRequestHeaders, SetHeaderTwice) { in TEST() argument 43 HttpRequestHeaders headers; in TEST() 49 TEST(HttpRequestHeaders, SetHeaderTwiceCaseInsensitive) { in TEST() argument [all …]
|
D | http_request_headers.cc | 28 const char HttpRequestHeaders::kGetMethod[] = "GET"; 29 const char HttpRequestHeaders::kAcceptCharset[] = "Accept-Charset"; 30 const char HttpRequestHeaders::kAcceptEncoding[] = "Accept-Encoding"; 31 const char HttpRequestHeaders::kAcceptLanguage[] = "Accept-Language"; 32 const char HttpRequestHeaders::kAuthorization[] = "Authorization"; 33 const char HttpRequestHeaders::kCacheControl[] = "Cache-Control"; 34 const char HttpRequestHeaders::kConnection[] = "Connection"; 35 const char HttpRequestHeaders::kContentLength[] = "Content-Length"; 36 const char HttpRequestHeaders::kContentType[] = "Content-Type"; 37 const char HttpRequestHeaders::kCookie[] = "Cookie"; [all …]
|
D | http_request_headers.h | 23 class NET_EXPORT HttpRequestHeaders { 38 explicit Iterator(const HttpRequestHeaders& headers); 52 HttpRequestHeaders::HeaderVector::const_iterator curr_; 53 const HttpRequestHeaders::HeaderVector::const_iterator end_; 82 HttpRequestHeaders(); 83 ~HttpRequestHeaders(); 132 void MergeFrom(const HttpRequestHeaders& other); 135 void CopyFrom(const HttpRequestHeaders& other) { in CopyFrom() 139 void Swap(HttpRequestHeaders* other) { in Swap() 159 HttpRequestHeaders* headers,
|
D | proxy_client_socket.cc | 23 const HttpRequestHeaders& auth_headers, in BuildTunnelRequest() 26 HttpRequestHeaders* request_headers) { in BuildTunnelRequest() 32 request_headers->SetHeader(HttpRequestHeaders::kHost, in BuildTunnelRequest() 34 request_headers->SetHeader(HttpRequestHeaders::kProxyConnection, in BuildTunnelRequest() 38 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest() 40 request_headers->SetHeader(HttpRequestHeaders::kUserAgent, user_agent); in BuildTunnelRequest()
|
D | partial_data.h | 39 bool Init(const HttpRequestHeaders& headers); 44 void SetHeaders(const HttpRequestHeaders& headers); 48 void RestoreHeaders(HttpRequestHeaders* headers) const; 62 HttpRequestHeaders* headers); 131 HttpRequestHeaders extra_headers_;
|
D | http_pipelined_connection_impl_unittest.cc | 163 HttpRequestHeaders headers; in TestSyncRequest() 240 HttpRequestHeaders headers; in TEST_F() 277 HttpRequestHeaders headers1; in TEST_F() 283 HttpRequestHeaders headers2; in TEST_F() 339 HttpRequestHeaders headers1; in TEST_F() 343 HttpRequestHeaders headers2; in TEST_F() 399 HttpRequestHeaders headers1; in TEST_F() 404 HttpRequestHeaders headers2; in TEST_F() 440 HttpRequestHeaders headers1; in TEST_F() 446 HttpRequestHeaders headers2; in TEST_F() [all …]
|
D | proxy_client_socket.h | 21 class HttpRequestHeaders; variable 61 const HttpRequestHeaders& auth_headers, 64 HttpRequestHeaders* request_headers);
|
D | partial_data.cc | 113 bool PartialData::Init(const HttpRequestHeaders& headers) { in Init() 115 if (!headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) in Init() 135 void PartialData::SetHeaders(const HttpRequestHeaders& headers) { in SetHeaders() 140 void PartialData::RestoreHeaders(HttpRequestHeaders* headers) const { in RestoreHeaders() 150 headers->SetHeader(HttpRequestHeaders::kRange, in RestoreHeaders() 153 headers->SetHeader(HttpRequestHeaders::kRange, in RestoreHeaders() 199 HttpRequestHeaders* headers) { in PrepareCacheValidation() 222 HttpRequestHeaders::kRange, in PrepareCacheValidation() 229 HttpRequestHeaders::kRange, in PrepareCacheValidation()
|
/external/chromium/net/http/ |
D | http_request_headers_unittest.cc | 13 TEST(HttpRequestHeaders, HasHeader) { in TEST() argument 14 HttpRequestHeaders headers; in TEST() 20 const HttpRequestHeaders& headers_ref = headers; in TEST() 26 TEST(HttpRequestHeaders, SetHeader) { in TEST() argument 27 HttpRequestHeaders headers; in TEST() 32 TEST(HttpRequestHeaders, SetMultipleHeaders) { in TEST() argument 33 HttpRequestHeaders headers; in TEST() 40 TEST(HttpRequestHeaders, SetHeaderTwice) { in TEST() argument 41 HttpRequestHeaders headers; in TEST() 47 TEST(HttpRequestHeaders, SetHeaderTwiceCaseInsensitive) { in TEST() argument [all …]
|
D | http_request_headers.cc | 14 const char HttpRequestHeaders::kGetMethod[] = "GET"; 15 const char HttpRequestHeaders::kAcceptCharset[] = "Accept-Charset"; 16 const char HttpRequestHeaders::kAcceptEncoding[] = "Accept-Encoding"; 17 const char HttpRequestHeaders::kAcceptLanguage[] = "Accept-Language"; 18 const char HttpRequestHeaders::kCacheControl[] = "Cache-Control"; 19 const char HttpRequestHeaders::kConnection[] = "Connection"; 20 const char HttpRequestHeaders::kContentLength[] = "Content-Length"; 21 const char HttpRequestHeaders::kContentType[] = "Content-Type"; 22 const char HttpRequestHeaders::kCookie[] = "Cookie"; 23 const char HttpRequestHeaders::kHost[] = "Host"; [all …]
|
D | http_proxy_utils.cc | 17 const HttpRequestHeaders& auth_headers, in BuildTunnelRequest() 20 HttpRequestHeaders* request_headers) { in BuildTunnelRequest() 26 request_headers->SetHeader(HttpRequestHeaders::kHost, in BuildTunnelRequest() 28 request_headers->SetHeader(HttpRequestHeaders::kProxyConnection, in BuildTunnelRequest() 32 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest() 34 request_headers->SetHeader(HttpRequestHeaders::kUserAgent, user_agent); in BuildTunnelRequest()
|
D | http_request_headers.h | 22 class NET_EXPORT HttpRequestHeaders { 37 explicit Iterator(const HttpRequestHeaders& headers); 51 HttpRequestHeaders::HeaderVector::const_iterator curr_; 52 const HttpRequestHeaders::HeaderVector::const_iterator end_; 79 HttpRequestHeaders(); 80 ~HttpRequestHeaders(); 129 void MergeFrom(const HttpRequestHeaders& other); 132 void CopyFrom(const HttpRequestHeaders& other) { in CopyFrom()
|
D | partial_data.h | 40 bool Init(const HttpRequestHeaders& headers); 45 void SetHeaders(const HttpRequestHeaders& headers); 49 void RestoreHeaders(HttpRequestHeaders* headers) const; 63 HttpRequestHeaders* headers); 132 HttpRequestHeaders extra_headers_;
|
D | http_proxy_utils.h | 14 class HttpRequestHeaders; variable 21 const HttpRequestHeaders& auth_headers, 24 HttpRequestHeaders* request_headers);
|
D | http_net_log_params.h | 25 const HttpRequestHeaders& headers); 27 const HttpRequestHeaders& GetHeaders() const { in GetHeaders() 42 HttpRequestHeaders headers_;
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_url_request_job_unittest.cc | 95 const net::HttpRequestHeaders* headers, in TestRequestHelper() 127 const net::HttpRequestHeaders* headers) { in TestRequestWithHeaders() 223 net::HttpRequestHeaders headers; in TEST_F() 225 net::HttpRequestHeaders::kRange, in TEST_F() 246 net::HttpRequestHeaders headers; in TEST_F() 248 net::HttpRequestHeaders::kRange, in TEST_F() 261 net::HttpRequestHeaders headers; in TEST_F() 262 headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 272 net::HttpRequestHeaders headers; in TEST_F() 274 net::HttpRequestHeaders::kRange, in TEST_F()
|
D | blob_url_request_job_unittest.cc | 231 TestRequest("GET", net::HttpRequestHeaders()); in TestSuccessRequest() 237 TestRequest("GET", net::HttpRequestHeaders()); in TestErrorRequest() 241 const net::HttpRequestHeaders& extra_headers) { in TestRequest() 400 net::HttpRequestHeaders extra_headers; in TEST_F() 401 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 412 net::HttpRequestHeaders extra_headers; in TEST_F() 413 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 426 TestRequest("GET", net::HttpRequestHeaders()); in TEST_F()
|
/external/chromium_org/content/browser/streams/ |
D | stream_url_request_job_unittest.cc | 69 TestRequest("GET", url, net::HttpRequestHeaders(), 200, expected_response); in TestSuccessRequest() 74 const net::HttpRequestHeaders& extra_headers, in TestRequest() 157 net::HttpRequestHeaders extra_headers; in TEST_F() 158 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 174 net::HttpRequestHeaders extra_headers; in TEST_F() 175 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F()
|
/external/chromium_org/net/base/ |
D | network_delegate.h | 36 class HttpRequestHeaders; variable 73 HttpRequestHeaders* headers); 75 const HttpRequestHeaders& headers); 134 HttpRequestHeaders* headers); 140 const HttpRequestHeaders& headers);
|
/external/chromium_org/chrome/browser/android/ |
D | intercept_download_resource_throttle.cc | 46 if (request_->method() != net::HttpRequestHeaders::kGetMethod) in ProcessDownloadRequest() 55 net::HttpRequestHeaders headers; in ProcessDownloadRequest() 57 if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) || in ProcessDownloadRequest()
|
/external/chromium/net/base/ |
D | network_delegate.h | 26 class HttpRequestHeaders; variable 43 HttpRequestHeaders* headers); 76 HttpRequestHeaders* headers) = 0;
|
/external/chromium_org/net/socket/ |
D | client_socket_pool_manager.h | 33 class HttpRequestHeaders; variable 94 const HttpRequestHeaders& request_extra_headers, 120 const HttpRequestHeaders& request_extra_headers, 169 const HttpRequestHeaders& request_extra_headers,
|
/external/chromium_org/net/websockets/ |
D | websocket_basic_handshake_stream.cc | 42 HttpRequestHeaders* headers) { in AddVectorHeaderIfNonEmpty() 128 const HttpRequestHeaders& headers, in SendRequest() 134 DCHECK(headers.HasHeader(HttpRequestHeaders::kOrigin)); in SendRequest() 136 DCHECK(headers.HasHeader(HttpRequestHeaders::kConnection)); in SendRequest() 144 HttpRequestHeaders enriched_headers; in SendRequest() 309 headers->HasHeaderValue(HttpRequestHeaders::kConnection, in ValidateUpgradeResponse()
|
/external/chromium/net/spdy/ |
D | spdy_http_utils.h | 16 class HttpRequestHeaders; variable 29 const HttpRequestHeaders& request_headers,
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_api_helpers.h | 147 net::HttpRequestHeaders modified_request_headers; 211 net::HttpRequestHeaders* old_headers, 212 net::HttpRequestHeaders* new_headers); 251 net::HttpRequestHeaders* request_headers, 258 net::HttpRequestHeaders* request_headers,
|