/external/chromium/net/spdy/ |
D | spdy_test_util.h | 74 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 …]
|
D | spdy_test_util.cc | 74 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 …]
|
/external/chromium_org/content/browser/streams/ |
D | stream_url_request_job_unittest.cc | 74 const net::HttpRequestHeaders& extra_headers, in TestRequest() argument 81 if (!extra_headers.IsEmpty()) in TestRequest() 82 request_->SetExtraRequestHeaders(extra_headers); in TestRequest() 157 net::HttpRequestHeaders extra_headers; in TEST_F() local 158 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 160 TestRequest("GET", kStreamURL, extra_headers, in TEST_F() 174 net::HttpRequestHeaders extra_headers; in TEST_F() local 175 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 177 TestRequest("GET", kStreamURL, extra_headers, 405, std::string()); in TEST_F()
|
/external/chromium_org/net/spdy/ |
D | spdy_test_util_common.h | 82 void AppendToHeaderBlock(const char* const extra_headers[], 325 const char* const extra_headers[], 347 const char* const extra_headers[], 414 SpdyFrame* ConstructSpdyGet(const char* const extra_headers[], 422 SpdyFrame* ConstructSpdyConnect(const char* const extra_headers[], 431 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[], 436 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[], 445 const char* const extra_headers[], 452 SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[], 470 const char* const* const extra_headers, [all …]
|
D | spdy_test_util_common.cc | 112 void AppendToHeaderBlock(const char* const extra_headers[], in AppendToHeaderBlock() argument 122 DCHECK(NULL != extra_headers) << "NULL header value pair list"; in AppendToHeaderBlock() 128 DCHECK_NE('\0', *extra_headers[i * 2]) << "Empty header value pair"; in AppendToHeaderBlock() 129 this_header = extra_headers[i * 2]; in AppendToHeaderBlock() 133 this_value = extra_headers[1 + (i * 2)]; in AppendToHeaderBlock() 780 const char* const extra_headers[], in ConstructSpdyFrame() argument 785 AppendToHeaderBlock(extra_headers, extra_header_count, headers.get()); in ConstructSpdyFrame() 818 const char* const extra_headers[], in ConstructSpdyControlFrame() argument 829 AppendToHeaderBlock(extra_headers, extra_header_count, headers.get()); in ConstructSpdyControlFrame() 912 SpdyFrame* SpdyTestUtil::ConstructSpdyGet(const char* const extra_headers[], in ConstructSpdyGet() argument [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_handshake_handler_test.cc | 192 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST() 193 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST() 194 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key")); in TEST() 196 EXPECT_TRUE(request_info.extra_headers.GetHeader("Host", &value)); in TEST() 198 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Origin", in TEST() 201 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Protocol", in TEST()
|
D | websocket_test_util.cc | 32 const std::string& extra_headers) { in WebSocketStandardRequest() argument 50 extra_headers.c_str()); in WebSocketStandardRequest() 53 std::string WebSocketStandardResponse(const std::string& extra_headers) { in WebSocketStandardResponse() argument 60 extra_headers.c_str()); in WebSocketStandardResponse()
|
D | websocket_test_util.h | 51 const std::string& extra_headers); 55 extern std::string WebSocketStandardResponse(const std::string& extra_headers);
|
D | websocket_handshake_handler.cc | 207 request_info.extra_headers.Clear(); in GetRequestInfo() 208 request_info.extra_headers.AddHeadersFromString(headers_); in GetRequestInfo() 210 request_info.extra_headers.RemoveHeader(websockets::kUpgrade); in GetRequestInfo() 211 request_info.extra_headers.RemoveHeader(HttpRequestHeaders::kConnection); in GetRequestInfo() 214 bool header_present = request_info.extra_headers.GetHeader( in GetRequestInfo() 217 request_info.extra_headers.RemoveHeader(websockets::kSecWebSocketKey); in GetRequestInfo()
|
/external/chromium_org/content/public/browser/ |
D | navigation_controller.cc | 34 extra_headers(other.extra_headers), in LoadURLParams() 54 extra_headers = other.extra_headers; in operator =()
|
D | navigation_controller.h | 104 const std::string& extra_headers, 130 std::string extra_headers; member 305 const std::string& extra_headers) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
D | peer_channel.cc | 114 std::string extra_headers(GetPeerIdHeader()); in ForwardRequestToPeer() local 117 ds->Send("200 OK", true, ds->content_type(), extra_headers, in ForwardRequestToPeer() 122 peer->QueueResponse("200 OK", ds->content_type(), extra_headers, in ForwardRequestToPeer() 137 const std::string& extra_headers, in QueueResponse() argument 142 bool ok = waiting_socket_->Send(status, true, content_type, extra_headers, in QueueResponse() 153 qr.extra_headers = extra_headers; in QueueResponse() 165 response.extra_headers, response.data); in SetWaitingSocket()
|
D | peer_channel.h | 66 const std::string& extra_headers, const std::string& data); 72 std::string status, content_type, extra_headers, data; member
|
D | data_socket.cc | 141 const std::string& extra_headers, in Send() argument 159 if (!extra_headers.empty()) { in Send() 160 buffer += extra_headers; in Send()
|
/external/chromium/net/websockets/ |
D | websocket_handshake_handler_unittest.cc | 204 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()
|
D | websocket_handshake_handler.cc | 199 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/chromium_org/content/browser/fileapi/ |
D | blob_url_request_job_unittest.cc | 241 const net::HttpRequestHeaders& extra_headers) { in TestRequest() argument 245 if (!extra_headers.IsEmpty()) in TestRequest() 246 request_->SetExtraRequestHeaders(extra_headers); in TestRequest() 400 net::HttpRequestHeaders extra_headers; in TEST_F() local 401 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 405 TestRequest("GET", extra_headers); in TEST_F() 412 net::HttpRequestHeaders extra_headers; in TEST_F() local 413 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 417 TestRequest("GET", extra_headers); in TEST_F()
|
/external/chromium_org/content/public/renderer/ |
D | navigation_state.h | 113 void set_extra_headers(const std::string& extra_headers) { in set_extra_headers() argument 114 extra_headers_ = extra_headers; in set_extra_headers() 116 const std::string& extra_headers() { return extra_headers_; } in extra_headers() function
|
/external/chromium_org/chrome/browser/translate/ |
D | translate_script_unittest.cc | 70 net::HttpRequestHeaders extra_headers; in TEST_F() local 71 fetcher->GetExtraRequestHeaders(&extra_headers); in TEST_F() 72 EXPECT_EQ(expected_extra_headers, extra_headers.ToString()); in TEST_F()
|
/external/speex/libspeex/ |
D | speex_header.c | 116 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_org/chrome_frame/ |
D | plugin_url_request.cc | 24 const std::string& referrer, const std::string& extra_headers, in Initialize() argument 32 extra_headers_ = extra_headers; in Initialize()
|
/external/chromium/net/http/ |
D | http_cache_transaction.cc | 617 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 …]
|
/external/chromium_org/net/url_request/ |
D | url_request_http_job.cc | 343 request_info_.extra_headers.RemoveHeader(HttpRequestHeaders::kReferer); in Start() 348 request_info_.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in Start() 352 request_info_.extra_headers.SetHeaderIfMissing( in Start() 447 &request_info_.extra_headers); in StartTransaction() 488 request_, request_info_.extra_headers); in StartTransactionInternal() 545 if (!request_info_.extra_headers.HasHeader( in AddExtraHeaders() 580 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 584 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 587 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 607 request_info_.extra_headers.SetHeaderIfMissing( in AddExtraHeaders() [all …]
|
/external/chromium_org/net/http/ |
D | http_cache_transaction.cc | 842 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoGetBackendComplete() 1138 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoCreateEntryComplete() 1203 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete() 1238 &custom_request_->extra_headers); in DoCompletePartialCacheValidation() 1696 if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) in SetRequest() 1700 if (HeaderMatches(request_->extra_headers, kSpecialHeaders[i].search)) { in SetRequest() 1711 if (request_->extra_headers.GetHeader( in SetRequest() 1739 if (request_->method == "GET" && partial_->Init(request_->extra_headers)) { in SetRequest() 1743 custom_request_->extra_headers.RemoveHeader(HttpRequestHeaders::kRange); in SetRequest() 1745 partial_->SetHeaders(custom_request_->extra_headers); in SetRequest() [all …]
|
/external/chromium_org/content/browser/frame_host/ |
D | navigation_entry_impl.h | 133 void set_extra_headers(const std::string& extra_headers) { in NON_EXPORTED_BASE() 134 extra_headers_ = extra_headers; in NON_EXPORTED_BASE() 136 const std::string& extra_headers() const { in NON_EXPORTED_BASE()
|