Home
last modified time | relevance | path

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

123

/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.h21 class HttpRequestHeaders {
36 explicit Iterator(const HttpRequestHeaders& headers);
50 HttpRequestHeaders::HeaderVector::const_iterator curr_;
51 const HttpRequestHeaders::HeaderVector::const_iterator end_;
78 HttpRequestHeaders();
79 ~HttpRequestHeaders();
128 void MergeFrom(const HttpRequestHeaders& other);
131 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_;
Dpartial_data.cc26 void AddRangeHeader(int64 start, int64 end, HttpRequestHeaders* headers) { in AddRangeHeader()
35 HttpRequestHeaders::kRange, in AddRangeHeader()
124 bool PartialData::Init(const HttpRequestHeaders& headers) { in Init()
126 if (!headers.GetHeader(HttpRequestHeaders::kRange, &range_header)) in Init()
146 void PartialData::SetHeaders(const HttpRequestHeaders& headers) { in SetHeaders()
151 void PartialData::RestoreHeaders(HttpRequestHeaders* headers) const { in RestoreHeaders()
201 HttpRequestHeaders* headers) { in PrepareCacheValidation()
Dhttp_stream.h25 class HttpRequestHeaders; variable
49 virtual int SendRequest(const HttpRequestHeaders& request_headers,
Dhttp_net_log_params.cc15 const HttpRequestHeaders& headers) in NetLogHttpRequestParameter()
24 HttpRequestHeaders::Iterator iterator(headers_); in ToValue()
Dhttp_network_transaction.cc684 request_headers_.SetHeader(HttpRequestHeaders::kHost, in BuildRequestHeaders()
689 request_headers_.SetHeader(HttpRequestHeaders::kProxyConnection, in BuildRequestHeaders()
692 request_headers_.SetHeader(HttpRequestHeaders::kConnection, "keep-alive"); in BuildRequestHeaders()
698 request_headers_.SetHeader(HttpRequestHeaders::kReferer, in BuildRequestHeaders()
706 HttpRequestHeaders::kTransferEncoding, "chunked"); in BuildRequestHeaders()
709 HttpRequestHeaders::kContentLength, in BuildRequestHeaders()
718 request_headers_.SetHeader(HttpRequestHeaders::kContentLength, "0"); in BuildRequestHeaders()
723 request_headers_.SetHeader(HttpRequestHeaders::kPragma, "no-cache"); in BuildRequestHeaders()
724 request_headers_.SetHeader(HttpRequestHeaders::kCacheControl, "no-cache"); in BuildRequestHeaders()
726 request_headers_.SetHeader(HttpRequestHeaders::kCacheControl, "max-age=0"); in BuildRequestHeaders()
[all …]
Dhttp_basic_stream.h26 class HttpRequestHeaders; variable
47 virtual int SendRequest(const HttpRequestHeaders& headers,
Dhttp_auth_controller.h28 class HttpRequestHeaders; variable
52 HttpRequestHeaders* authorization_headers);
Dhttp_stream_parser.h23 class HttpRequestHeaders; variable
45 const HttpRequestHeaders& headers,
/external/chromium/net/base/
Dnetwork_delegate.h26 class HttpRequestHeaders; variable
43 HttpRequestHeaders* headers);
76 HttpRequestHeaders* headers) = 0;
/external/chromium/net/spdy/
Dspdy_http_utils.h16 class HttpRequestHeaders; variable
29 const HttpRequestHeaders& request_headers,
Dspdy_http_utils.cc79 const HttpRequestHeaders& request_headers, in CreateSpdyHeadersFromHttpRequest()
83 HttpRequestHeaders::Iterator it(request_headers); in CreateSpdyHeadersFromHttpRequest()
Dspdy_http_stream_unittest.cc78 HttpRequestHeaders headers; in TEST_F()
138 HttpRequestHeaders headers; in TEST_F()
192 HttpRequestHeaders headers; in TEST_F()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebResourceRequest.h59 const net::HttpRequestHeaders& requestHeaders() const in requestHeaders()
78 net::HttpRequestHeaders m_requestHeaders;
/external/chromium/chrome/browser/automation/
Durl_request_automation_job.cc408 net::HttpRequestHeaders new_request_headers; in StartAsync()
417 net::HttpRequestHeaders::kAcceptLanguage) && in StartAsync()
419 new_request_headers.SetHeader(net::HttpRequestHeaders::kAcceptLanguage, in StartAsync()
423 net::HttpRequestHeaders::kAcceptCharset) && in StartAsync()
425 new_request_headers.SetHeader(net::HttpRequestHeaders::kAcceptCharset, in StartAsync()
/external/chromium/chrome/browser/net/
Dchrome_dns_cert_provenance_checker.cc55 net::HttpRequestHeaders headers; in OnDnsCertLookupFailed()
56 headers.SetHeader(net::HttpRequestHeaders::kContentType, in OnDnsCertLookupFailed()
/external/chromium/chrome/browser/extensions/
Dextension_webrequest_api.h25 class HttpRequestHeaders; variable
56 net::HttpRequestHeaders* headers);
/external/chromium/net/url_request/
Durl_request.cc40 void StripPostSpecificHeaders(HttpRequestHeaders* headers) { in StripPostSpecificHeaders()
42 headers->RemoveHeader(HttpRequestHeaders::kContentLength); in StripPostSpecificHeaders()
43 headers->RemoveHeader(HttpRequestHeaders::kContentType); in StripPostSpecificHeaders()
44 headers->RemoveHeader(HttpRequestHeaders::kOrigin); in StripPostSpecificHeaders()
228 const HttpRequestHeaders& headers) { in SetExtraRequestHeaders()
Durl_request_job.h25 class HttpRequestHeaders; variable
48 virtual void SetExtraRequestHeaders(const HttpRequestHeaders& headers);
Durl_request.h363 void SetExtraRequestHeaders(const HttpRequestHeaders& headers);
365 const HttpRequestHeaders& extra_request_headers() const { in extra_request_headers()
635 HttpRequestHeaders extra_request_headers_;

123