/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[], 335 const char* const extra_headers[], 357 const char* const extra_headers[], 430 SpdyFrame* ConstructSpdyGet(const char* const extra_headers[], 438 SpdyFrame* ConstructSpdyConnect(const char* const extra_headers[], 447 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[], 452 SpdyFrame* ConstructSpdyPush(const char* const extra_headers[], 465 const char* const extra_headers[], 486 SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[], 504 const char* const* const extra_headers, [all …]
|
D | spdy_test_util_common.cc | 116 void AppendToHeaderBlock(const char* const extra_headers[], in AppendToHeaderBlock() argument 126 DCHECK(NULL != extra_headers) << "NULL header value pair list"; in AppendToHeaderBlock() 132 DCHECK_NE('\0', *extra_headers[i * 2]) << "Empty header value pair"; in AppendToHeaderBlock() 133 this_header = extra_headers[i * 2]; in AppendToHeaderBlock() 137 this_value = extra_headers[1 + (i * 2)]; in AppendToHeaderBlock() 800 const char* const extra_headers[], in ConstructSpdyFrame() argument 805 AppendToHeaderBlock(extra_headers, extra_header_count, headers.get()); in ConstructSpdyFrame() 838 const char* const extra_headers[], in ConstructSpdyControlFrame() argument 849 AppendToHeaderBlock(extra_headers, extra_header_count, headers.get()); in ConstructSpdyControlFrame() 954 SpdyFrame* SpdyTestUtil::ConstructSpdyGet(const char* const extra_headers[], in ConstructSpdyGet() argument [all …]
|
D | hpack_huffman_aggregator_test.cc | 93 request.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in TEST_F() 102 request.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in TEST_F() 107 request.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in TEST_F()
|
/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 | 37 const std::string& extra_headers) { in WebSocketStandardRequest() argument 58 extra_headers.c_str()); in WebSocketStandardRequest() 61 std::string WebSocketStandardResponse(const std::string& extra_headers) { in WebSocketStandardResponse() argument 68 extra_headers.c_str()); in WebSocketStandardResponse()
|
D | websocket_test_util.h | 62 const std::string& extra_headers); 66 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 | 99 const std::string& extra_headers, 125 std::string extra_headers; member 300 const std::string& extra_headers) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
D | peer_channel.cc | 120 std::string extra_headers(GetPeerIdHeader()); in ForwardRequestToPeer() local 123 ds->Send("200 OK", true, ds->content_type(), extra_headers, in ForwardRequestToPeer() 128 peer->QueueResponse("200 OK", ds->content_type(), extra_headers, in ForwardRequestToPeer() 143 const std::string& extra_headers, in QueueResponse() argument 148 bool ok = waiting_socket_->Send(status, true, content_type, extra_headers, in QueueResponse() 159 qr.extra_headers = extra_headers; in QueueResponse() 171 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_org/chrome/browser/devtools/ |
D | devtools_network_transaction.cc | 137 bool has_devtools_client_id = request_->extra_headers.HasHeader( in ProcessRequest() 139 bool has_devtools_request_initiator = request_->extra_headers.HasHeader( in ProcessRequest() 147 custom_request_->extra_headers.GetHeader( in ProcessRequest() 149 custom_request_->extra_headers.RemoveHeader( in ProcessRequest() 154 custom_request_->extra_headers.GetHeader( in ProcessRequest() 156 custom_request_->extra_headers.RemoveHeader(kDevToolsRequestInitiator); in ProcessRequest()
|
/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/content/browser/fileapi/ |
D | blob_url_request_job_unittest.cc | 185 const net::HttpRequestHeaders& extra_headers) { in TestRequest() argument 189 if (!extra_headers.IsEmpty()) in TestRequest() 190 request_->SetExtraRequestHeaders(extra_headers); in TestRequest() 360 net::HttpRequestHeaders extra_headers; in TEST_F() local 361 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 365 TestRequest("GET", extra_headers); in TEST_F() 381 net::HttpRequestHeaders extra_headers; in TEST_F() local 382 extra_headers.SetHeader(net::HttpRequestHeaders::kRange, in TEST_F() 386 TestRequest("GET", extra_headers); in TEST_F()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | gcd_api_flow_impl.cc | 77 std::vector<std::string> extra_headers = request_->GetExtraRequestHeaders(); in CreateRequest() local 78 for (size_t i = 0; i < extra_headers.size(); ++i) in CreateRequest() 79 url_fetcher_->AddExtraRequestHeader(extra_headers[i]); in CreateRequest()
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
D | data_reduction_proxy_delegate.cc | 41 net::HttpRequestHeaders* extra_headers) { in OnBeforeTunnelRequest() argument 42 auth_handler_->MaybeAddProxyTunnelRequestHandler(proxy_server, extra_headers); in OnBeforeTunnelRequest()
|
/external/chromium_org/components/translate/core/browser/ |
D | translate_script_unittest.cc | 74 net::HttpRequestHeaders extra_headers; in TEST_F() local 75 fetcher->GetExtraRequestHeaders(&extra_headers); in TEST_F() 76 EXPECT_EQ(expected_extra_headers, extra_headers.ToString()); in TEST_F()
|
/external/chromium_org/third_party/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/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/net/url_request/ |
D | url_request_http_job.cc | 263 request_info_.extra_headers.RemoveHeader(HttpRequestHeaders::kReferer); in Start() 268 request_info_.extra_headers.SetHeader(HttpRequestHeaders::kReferer, in Start() 272 request_info_.extra_headers.SetHeaderIfMissing( in Start() 377 &request_info_.extra_headers); in StartTransaction() 418 request_, request_info_.extra_headers); in StartTransactionInternal() 483 if (!request_info_.extra_headers.HasHeader( in AddExtraHeaders() 523 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 527 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 530 request_info_.extra_headers.SetHeader( in AddExtraHeaders() 550 request_info_.extra_headers.SetHeaderIfMissing( in AddExtraHeaders() [all …]
|
/external/chromium_org/components/web_contents_delegate_android/ |
D | web_contents_delegate_android.cc | 91 ScopedJavaLocalRef<jstring> extra_headers = in OpenURLFromTab() local 92 ConvertUTF8ToJavaString(env, params.extra_headers); in OpenURLFromTab() 105 extra_headers.obj(), in OpenURLFromTab() 118 load_params.extra_headers = params.extra_headers; in OpenURLFromTab()
|
/external/chromium_org/content/browser/frame_host/ |
D | navigation_controller_android.cc | 166 jstring extra_headers, in LoadUrl() argument 185 if (extra_headers) in LoadUrl() 186 params.extra_headers = ConvertJavaStringToUTF8(env, extra_headers); in LoadUrl()
|
/external/chromium_org/net/http/ |
D | http_cache_transaction.cc | 1042 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoGetBackendComplete() 1357 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoCreateEntryComplete() 1449 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete() 1462 partial_->RestoreHeaders(&custom_request_->extra_headers); in DoAddToEntryComplete() 1497 &custom_request_->extra_headers); in DoCompletePartialCacheValidation() 2000 if (request_->extra_headers.HasHeader(HttpRequestHeaders::kRange)) in SetRequest() 2004 if (HeaderMatches(request_->extra_headers, kSpecialHeaders[i].search)) { in SetRequest() 2015 if (request_->extra_headers.GetHeader( in SetRequest() 2043 if (request_->method == "GET" && partial_->Init(request_->extra_headers)) { in SetRequest() 2047 custom_request_->extra_headers.RemoveHeader(HttpRequestHeaders::kRange); in SetRequest() [all …]
|