Home
last modified time | relevance | path

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

12345678

/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.cc17 const char HttpRequestHeaders::kGetMethod[] = "GET";
18 const char HttpRequestHeaders::kAcceptCharset[] = "Accept-Charset";
19 const char HttpRequestHeaders::kAcceptEncoding[] = "Accept-Encoding";
20 const char HttpRequestHeaders::kAcceptLanguage[] = "Accept-Language";
21 const char HttpRequestHeaders::kAuthorization[] = "Authorization";
22 const char HttpRequestHeaders::kCacheControl[] = "Cache-Control";
23 const char HttpRequestHeaders::kConnection[] = "Connection";
24 const char HttpRequestHeaders::kContentLength[] = "Content-Length";
25 const char HttpRequestHeaders::kContentType[] = "Content-Type";
26 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_;
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()
Dproxy_client_socket.h21 class HttpRequestHeaders; variable
61 const HttpRequestHeaders& auth_headers,
64 HttpRequestHeaders* request_headers);
Dhttp_transaction.h19 class HttpRequestHeaders; variable
43 HttpRequestHeaders* request_headers)> BeforeProxyHeadersSentCallback;
121 virtual bool GetFullRequestHeaders(HttpRequestHeaders* headers) const = 0;
/external/chromium_org/net/url_request/
Durl_request_simple_job_unittest.cc74 void StartRequest(const HttpRequestHeaders* headers) { in StartRequest()
102 HttpRequestHeaders headers; in TEST_F()
104 HttpRequestHeaders::kRange, in TEST_F()
115 HttpRequestHeaders headers; in TEST_F()
122 headers.SetHeader(HttpRequestHeaders::kRange, range); in TEST_F()
131 HttpRequestHeaders headers; in TEST_F()
134 headers.SetHeader(HttpRequestHeaders::kRange, range); in TEST_F()
Durl_range_request_job.cc22 const HttpRequestHeaders& headers) { in SetExtraRequestHeaders()
24 if (headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) { in SetExtraRequestHeaders()
Durl_range_request_job.h16 class HttpRequestHeaders; variable
28 const HttpRequestHeaders& headers) OVERRIDE;
/external/chromium_org/net/base/
Dnetwork_delegate.h36 class HttpRequestHeaders; variable
74 HttpRequestHeaders* headers);
77 HttpRequestHeaders* headers);
79 const HttpRequestHeaders& headers);
159 HttpRequestHeaders* headers);
166 HttpRequestHeaders* headers);
172 const HttpRequestHeaders& headers);
Dproxy_delegate.h15 class HttpRequestHeaders; variable
52 HttpRequestHeaders* headers) = 0;
57 HttpRequestHeaders* extra_headers) = 0;
Dnetwork_delegate.cc43 HttpRequestHeaders* headers) { in NotifyBeforeSendHeaders()
53 HttpRequestHeaders* headers) { in NotifyBeforeSendProxyHeaders()
60 const HttpRequestHeaders& headers) { in NotifySendHeaders()
197 HttpRequestHeaders* headers) { in OnBeforeSendHeaders()
204 HttpRequestHeaders* headers) { in OnBeforeSendProxyHeaders()
208 const HttpRequestHeaders& headers) { in OnSendHeaders()
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_auth_request_handler.h20 class HttpRequestHeaders; variable
57 net::HttpRequestHeaders* request_headers);
65 net::HttpRequestHeaders* request_headers);
79 void AddAuthorizationHeader(net::HttpRequestHeaders* headers);
131 net::HttpRequestHeaders* request_headers);
Ddata_reduction_proxy_delegate.h14 class HttpRequestHeaders; variable
43 net::HttpRequestHeaders* headers) OVERRIDE;
47 net::HttpRequestHeaders* extra_headers) OVERRIDE;
/external/chromium_org/chrome/browser/net/
Dsafe_search_util_unittest.cc33 static void SetCookie(net::HttpRequestHeaders* headers, in SetCookie()
35 headers->SetHeader(base::StringPiece(net::HttpRequestHeaders::kCookie), in SetCookie()
42 net::HttpRequestHeaders headers; in CheckHeaders()
46 net::HttpRequestHeaders headers_expected; in CheckHeaders()
Dsafe_search_util.h11 class HttpRequestHeaders; variable
25 net::HttpRequestHeaders* headers);
/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/chrome/browser/android/
Dintercept_download_resource_throttle.cc46 if (request_->method() != net::HttpRequestHeaders::kGetMethod) in ProcessDownloadRequest()
49 net::HttpRequestHeaders headers; in ProcessDownloadRequest()
58 if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) || in ProcessDownloadRequest()
/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/content/browser/fileapi/
Dfile_system_url_request_job_unittest.cc172 const net::HttpRequestHeaders* headers, in TestRequestHelper()
205 const net::HttpRequestHeaders* headers) { in TestRequestWithHeaders()
280 net::HttpRequestHeaders headers; in TEST_F()
282 net::HttpRequestHeaders::kRange, in TEST_F()
303 net::HttpRequestHeaders headers; in TEST_F()
305 net::HttpRequestHeaders::kRange, in TEST_F()
317 net::HttpRequestHeaders headers; in TEST_F()
318 headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F()
328 net::HttpRequestHeaders headers; in TEST_F()
330 net::HttpRequestHeaders::kRange, in TEST_F()
Dblob_url_request_job_unittest.cc173 TestRequest("GET", net::HttpRequestHeaders()); in TestSuccessNonrangeRequest()
181 TestRequest("GET", net::HttpRequestHeaders()); in TestErrorRequest()
185 const net::HttpRequestHeaders& extra_headers) { in TestRequest()
360 net::HttpRequestHeaders extra_headers; in TEST_F()
361 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F()
381 net::HttpRequestHeaders extra_headers; in TEST_F()
382 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F()
405 TestRequest("GET", net::HttpRequestHeaders()); in TEST_F()
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_api_helpers.h151 net::HttpRequestHeaders modified_request_headers;
215 net::HttpRequestHeaders* old_headers,
216 net::HttpRequestHeaders* new_headers);
264 net::HttpRequestHeaders* request_headers,
271 net::HttpRequestHeaders* request_headers,
/external/chromium_org/net/spdy/
Dspdy_http_utils.h19 class HttpRequestHeaders; variable
34 const HttpRequestHeaders& request_headers,

12345678