Home
last modified time | relevance | path

Searched refs:extra_headers (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium/net/spdy/
Dspdy_test_util.h74 void AppendHeadersToSpdyFrame(const char* const extra_headers[],
117 const char* const extra_headers[],
123 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[],
132 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[],
148 int ConstructSpdyReplyString(const char* const extra_headers[],
181 int ConstructSpdyHeader(const char* const extra_headers[],
201 spdy::SpdyFrame* ConstructSpdyGet(const char* const extra_headers[],
212 spdy::SpdyFrame* ConstructSpdyGet(const char* const extra_headers[],
220 spdy::SpdyFrame* ConstructSpdyConnect(const char* const extra_headers[],
228 spdy::SpdyFrame* ConstructSpdyPush(const char* const extra_headers[],
[all …]
Dspdy_test_util.cc74 void AppendHeadersToSpdyFrame(const char* const extra_headers[], in AppendHeadersToSpdyFrame() argument
84 DCHECK(NULL != extra_headers) << "NULL header value pair list"; in AppendHeadersToSpdyFrame()
90 DCHECK_NE('\0', *extra_headers[i * 2]) << "Empty header value pair"; in AppendHeadersToSpdyFrame()
91 this_header = extra_headers[i * 2]; in AppendHeadersToSpdyFrame()
95 this_value = extra_headers[1 + (i * 2)]; in AppendHeadersToSpdyFrame()
150 const char* const extra_headers[], in ConstructSpdyPacket() argument
157 AppendHeadersToSpdyFrame(extra_headers, extra_header_count, &headers); in ConstructSpdyPacket()
232 int ConstructSpdyHeader(const char* const extra_headers[], in ConstructSpdyHeader() argument
243 DCHECK(NULL != extra_headers) << "NULL extra headers pointer"; in ConstructSpdyHeader()
248 this_header = extra_headers[index * 2]; in ConstructSpdyHeader()
[all …]
Dspdy_proxy_client_socket.cc52 request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in SpdyProxyClientSocket()
346 request_.extra_headers.MergeFrom(request_headers); in DoSendRequest()
Dspdy_network_transaction_unittest.cc365 google_get_request_.extra_headers.SetHeader("User-Agent", "Chrome"); in CreateGetRequestWithUserAgent()
3214 const char* extra_headers[5]; in TEST_P() member
3254 ConstructSpdyGetSynReply(test_cases[i].extra_headers, in TEST_P()
3311 const char* extra_headers[2][16]; in TEST_P() member
3380 ConstructSpdyGet(test_cases[i].extra_headers[0], in TEST_P()
3391 test_cases[i].extra_headers[1], in TEST_P()
3408 const char* header_key = test_cases[i].extra_headers[0][ct * 2]; in TEST_P()
3409 const char* header_value = test_cases[i].extra_headers[0][ct * 2 + 1]; in TEST_P()
3410 request.extra_headers.SetHeader(header_key, header_value); in TEST_P()
3451 ConstructSpdyReplyString(test_cases[i].extra_headers[1], in TEST_P()
/external/chromium/net/websockets/
Dwebsocket_handshake_handler_unittest.cc204 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST()
205 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST()
206 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key1")); in TEST()
207 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key2")); in TEST()
209 EXPECT_TRUE(request_info.extra_headers.GetHeader("Host", &value)); in TEST()
211 EXPECT_TRUE(request_info.extra_headers.GetHeader("Origin", &value)); in TEST()
213 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Protocol", in TEST()
Dwebsocket_handshake_handler.cc199 request_info.extra_headers.Clear(); in GetRequestInfo()
200 request_info.extra_headers.AddHeadersFromString(headers_); in GetRequestInfo()
202 request_info.extra_headers.RemoveHeader("Upgrade"); in GetRequestInfo()
203 request_info.extra_headers.RemoveHeader("Connection"); in GetRequestInfo()
207 request_info.extra_headers.GetHeader("Sec-WebSocket-Key1", &key); in GetRequestInfo()
208 request_info.extra_headers.RemoveHeader("Sec-WebSocket-Key1"); in GetRequestInfo()
211 request_info.extra_headers.GetHeader("Sec-WebSocket-Key2", &key); in GetRequestInfo()
212 request_info.extra_headers.RemoveHeader("Sec-WebSocket-Key2"); in GetRequestInfo()
/external/speex/libspeex/
Dspeex_header.c116 header->extra_headers = 0; in speex_init_header()
139 ENDIAN_SWITCH(le_header->extra_headers); in speex_header_to_packet()
179 ENDIAN_SWITCH(le_header->extra_headers); in speex_packet_to_header()
/external/chromium/net/http/
Dhttp_cache_transaction.cc617 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoGetBackendComplete()
821 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoCreateEntryComplete()
892 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete()
909 HttpRequestHeaders headers = request_->extra_headers; in DoNotifyBeforeSendHeaders()
978 &custom_request_->extra_headers); in DoCompletePartialCacheValidation()
1379 if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) in SetRequest()
1383 if (HeaderMatches(request_->extra_headers, kSpecialHeaders[i].search)) { in SetRequest()
1394 if (request_->extra_headers.GetHeader( in SetRequest()
1421 if (partial_->Init(request_->extra_headers)) { in SetRequest()
1425 custom_request_->extra_headers.RemoveHeader(HttpRequestHeaders::kRange); in SetRequest()
[all …]
Dhttp_vary_data_unittest.cc26 request.extra_headers.Clear(); in Init()
27 request.extra_headers.AddHeadersFromString(request_headers); in Init()
Dhttp_request_info.h42 HttpRequestHeaders extra_headers; member
Dhttp_proxy_utils.cc32 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest()
Dhttp_vary_data.cc109 if (request_info.extra_headers.GetHeader(request_header, &result)) in GetRequestValue()
Dhttp_network_layer_unittest.cc94 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F()
Dhttp_transaction_unittest.cc138 extra_headers.AddHeadersFromString(t.request_headers); in MockHttpRequest()
Dhttp_cache_unittest.cc869 if (request->extra_headers.IsEmpty()) { in RangeHandler()
876 EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); in RangeHandler()
886 if (!request->extra_headers.GetHeader( in RangeHandler()
915 if (!request->extra_headers.HasHeader("If-None-Match") || modified_) { in RangeHandler()
1451 EXPECT_TRUE(request->extra_headers.HasHeader(kExtraHeaderKey)); in PreserveRequestHeaders_Handler()
2184 request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); in ETagGet_ConditionalRequest_Handler()
2219 request->extra_headers.HasHeader(net::HttpRequestHeaders::kIfNoneMatch)); in ETagGet_ConditionalRequest_NoStore_Handler()
2397 const char* extra_headers = in TEST() local
2401 kNetResponse1, kNetResponse2, kNetResponse2, extra_headers); in TEST()
2425 const char* extra_headers = "If-None-Match: \"ETAG1\"\n"; in TEST() local
[all …]
Dhttp_proxy_client_socket.cc57 request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in HttpProxyClientSocket()
/external/chromium/chrome/browser/policy/
Ddevice_management_backend_impl.cc265 std::string extra_headers; in ConfigureRequest() local
267 extra_headers += kServiceTokenAuthHeader + auth_token_ + "\n"; in ConfigureRequest()
269 extra_headers += kDMTokenAuthHeader + device_management_token_ + "\n"; in ConfigureRequest()
270 fetcher->set_extra_request_headers(extra_headers); in ConfigureRequest()
/external/chromium/net/url_request/
Durl_request_http_job.cc378 request_info_.extra_headers.SetHeader( in AddExtraHeaders()
382 request_info_.extra_headers.SetHeader( in AddExtraHeaders()
385 request_info_.extra_headers.SetHeader( in AddExtraHeaders()
402 request_info_.extra_headers.SetHeaderIfMissing( in AddExtraHeaders()
407 request_info_.extra_headers.SetHeaderIfMissing( in AddExtraHeaders()
589 request_info_.extra_headers.SetHeader( in OnCanGetCookiesCompleted()
744 request_info_.extra_headers.RemoveHeader( in RestartTransactionWithAuth()
758 request_info_.extra_headers.CopyFrom(headers); in SetExtraRequestHeaders()
775 request_info_.extra_headers.SetHeaderIfMissing( in Start()
/external/speex/include/speex/
Dspeex_header.h72 spx_int32_t extra_headers; /**< Number of additional headers after the comments */ member
/external/chromium/chrome/browser/net/
Dpreconnect.cc59 request_info.extra_headers.SetHeader(net::HttpRequestHeaders::kUserAgent, in PreconnectOnIOThread()
/external/libvpx/libvpx/third_party/googletest/src/scripts/
Dupload.py127 def __init__(self, host, auth_function, host_override=None, extra_headers={}, argument
146 self.extra_headers = extra_headers
168 for key, value in self.extra_headers.iteritems():
486 extra_headers={"Cookie":
/external/chromium/testing/gtest/scripts/
Dupload.py127 def __init__(self, host, auth_function, host_override=None, extra_headers={}, argument
146 self.extra_headers = extra_headers
168 for key, value in self.extra_headers.iteritems():
486 extra_headers={"Cookie":
/external/chromium/testing/gmock/scripts/
Dupload.py127 def __init__(self, host, auth_function, host_override=None, extra_headers={}, argument
146 self.extra_headers = extra_headers
168 for key, value in self.extra_headers.iteritems():
486 extra_headers={"Cookie":
/external/regex-re2/lib/codereview/
Dcodereview.py2764 def __init__(self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False): argument
2782 self.extra_headers = extra_headers
2804 for key, value in self.extra_headers.iteritems():
3055 extra_headers={"Cookie": 'dev_appserver_login="%s:False"' % email},
/external/chromium/net/socket/
Dclient_socket_pool_manager.cc128 request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in InitSocketPoolHelper()

12