Home
last modified time | relevance | path

Searched refs:HttpRequestHeaders (Results 1 – 25 of 206) sorted by relevance

123456789

/external/chromium_org/net/http/
Dhttp_request_headers_unittest.cc15 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 …]
Dhttp_request_headers.cc28 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 …]
Dhttp_request_headers.h23 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,
Dproxy_client_socket.cc23 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()
Dpartial_data.h39 bool Init(const HttpRequestHeaders& headers);
44 void SetHeaders(const HttpRequestHeaders& headers);
48 void RestoreHeaders(HttpRequestHeaders* headers) const;
62 HttpRequestHeaders* headers);
131 HttpRequestHeaders extra_headers_;
Dhttp_pipelined_connection_impl_unittest.cc163 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 …]
Dproxy_client_socket.h21 class HttpRequestHeaders; variable
61 const HttpRequestHeaders& auth_headers,
64 HttpRequestHeaders* request_headers);
Dpartial_data.cc113 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/
Dhttp_request_headers_unittest.cc13 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 …]
Dhttp_request_headers.cc14 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 …]
Dhttp_proxy_utils.cc17 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()
Dhttp_request_headers.h22 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()
Dpartial_data.h40 bool Init(const HttpRequestHeaders& headers);
45 void SetHeaders(const HttpRequestHeaders& headers);
49 void RestoreHeaders(HttpRequestHeaders* headers) const;
63 HttpRequestHeaders* headers);
132 HttpRequestHeaders extra_headers_;
Dhttp_proxy_utils.h14 class HttpRequestHeaders; variable
21 const HttpRequestHeaders& auth_headers,
24 HttpRequestHeaders* request_headers);
Dhttp_net_log_params.h25 const HttpRequestHeaders& headers);
27 const HttpRequestHeaders& GetHeaders() const { in GetHeaders()
42 HttpRequestHeaders headers_;
/external/chromium_org/content/browser/fileapi/
Dfile_system_url_request_job_unittest.cc95 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()
Dblob_url_request_job_unittest.cc231 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/
Dstream_url_request_job_unittest.cc69 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/
Dnetwork_delegate.h36 class HttpRequestHeaders; variable
73 HttpRequestHeaders* headers);
75 const HttpRequestHeaders& headers);
134 HttpRequestHeaders* headers);
140 const HttpRequestHeaders& headers);
/external/chromium_org/chrome/browser/android/
Dintercept_download_resource_throttle.cc46 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/
Dnetwork_delegate.h26 class HttpRequestHeaders; variable
43 HttpRequestHeaders* headers);
76 HttpRequestHeaders* headers) = 0;
/external/chromium_org/net/socket/
Dclient_socket_pool_manager.h33 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/
Dwebsocket_basic_handshake_stream.cc42 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/
Dspdy_http_utils.h16 class HttpRequestHeaders; variable
29 const HttpRequestHeaders& request_headers,
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api_helpers.h147 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,

123456789