Home
last modified time | relevance | path

Searched refs:request_headers_ (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
Ddata_socket.cc123 request_headers_.append(buffer, bytes); in OnDataAvailable()
124 size_t found = request_headers_.find(kHeaderTerminator); in OnDataAvailable()
126 data_ = request_headers_.substr(found + kHeaderTerminatorLength); in OnDataAvailable()
127 request_headers_.resize(found + kHeaderTerminatorLength); in OnDataAvailable()
177 request_headers_.clear(); in Clear()
182 assert(!request_headers_.empty()); in ParseHeaders()
184 size_t i = request_headers_.find("\r\n"); in ParseHeaders()
188 if (!ParseMethodAndPath(request_headers_.data(), i)) in ParseHeaders()
195 const char* headers = request_headers_.data() + i + 2; in ParseHeaders()
196 size_t len = request_headers_.length() - i - 2; in ParseHeaders()
Ddata_socket.h154 std::string request_headers_; variable
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate_browsertest.cc74 request_headers_.MergeFrom(request->extra_request_headers()); in RequestBeginning()
87 request_headers_.MergeFrom(request->extra_request_headers()); in OnRequestRedirected()
90 net::HttpRequestHeaders request_headers_; member in __anon81ed6c3e0111::TestDispatcherHostDelegate
154 ASSERT_FALSE(dispatcher_host_delegate_->request_headers_.HasHeader( in IN_PROC_BROWSER_TEST_F()
164 ASSERT_TRUE(dispatcher_host_delegate_->request_headers_.GetHeader( in IN_PROC_BROWSER_TEST_F()
181 ASSERT_TRUE(dispatcher_host_delegate_->request_headers_.GetHeader( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/http/
Dhttp_network_transaction.cc137 request_headers_(), in HttpNetworkTransaction()
383 *headers = request_headers_; in GetFullRequestHeaders()
840 request_headers_.SetHeader(HttpRequestHeaders::kHost, in BuildRequestHeaders()
845 request_headers_.SetHeader(HttpRequestHeaders::kProxyConnection, in BuildRequestHeaders()
848 request_headers_.SetHeader(HttpRequestHeaders::kConnection, "keep-alive"); in BuildRequestHeaders()
854 request_headers_.SetHeader( in BuildRequestHeaders()
857 request_headers_.SetHeader( in BuildRequestHeaders()
867 request_headers_.SetHeader(HttpRequestHeaders::kContentLength, "0"); in BuildRequestHeaders()
872 request_headers_.SetHeader(HttpRequestHeaders::kPragma, "no-cache"); in BuildRequestHeaders()
873 request_headers_.SetHeader(HttpRequestHeaders::kCacheControl, "no-cache"); in BuildRequestHeaders()
[all …]
Dhttp_stream_parser.cc184 request_headers_(NULL), in HttpStreamParser()
261 request_headers_ = new DrainableIOBuffer( in SendRequest()
264 memcpy(request_headers_->data(), request.data(), request_headers_length_); in SendRequest()
265 request_headers_->DidConsume(request_headers_length_); in SendRequest()
270 ->Read(request_headers_.get(), todo, CompletionCallback()); in SendRequest()
272 request_headers_->DidConsume(consumed); in SendRequest()
277 request_headers_->SetOffset(0); in SendRequest()
292 request_headers_ = in SendRequest()
424 int bytes_remaining = request_headers_->BytesRemaining(); in DoSendHeaders()
429 if (bytes_remaining == request_headers_->size()) in DoSendHeaders()
[all …]
Dhttp_proxy_client_socket.cc296 request_headers_.Clear(); in DidDrainBodyForAuthRestart()
408 DCHECK(request_headers_.IsEmpty()); in DoSendRequest()
417 &request_line_, &request_headers_); in DoSendRequest()
422 base::Unretained(&request_headers_), in DoSendRequest()
430 request_line_, request_headers_, &response_, io_callback_); in DoSendRequest()
Dhttp_stream_parser.h179 scoped_refptr<DrainableIOBuffer> request_headers_; variable
Dhttp_proxy_client_socket.h162 HttpRequestHeaders request_headers_; variable
Dhttp_network_transaction.h305 HttpRequestHeaders request_headers_; variable
Dhttp_stream_parser_unittest.cc542 rv = parser_->SendRequest("GET / HTTP/1.1\r\n", request_headers_, in SetupParserAndSendRequest()
568 HttpRequestHeaders request_headers_; member in net::__anon4a7fe0510111::SimpleGetRunner
Dhttp_network_transaction_unittest.cc5901 trans->request_headers_.SetHeader("Authorization", "NTLM"); in TEST_P()
5926 EXPECT_TRUE(trans->request_headers_.IsEmpty()); in TEST_P()
/external/chromium_org/content/public/browser/
Ddownload_url_parameters.h64 request_headers_.push_back(make_pair(name, value)); in add_request_header()
121 return request_headers_.begin(); in request_headers_begin()
124 return request_headers_.end(); in request_headers_end()
145 RequestHeadersType request_headers_; variable
/external/chromium_org/net/spdy/
Dspdy_stream.cc198 CHECK(request_headers_); in ProduceSynStreamFrame()
205 stream_id_, priority_, flags, *request_headers_)); in ProduceSynStreamFrame()
457 CHECK(!request_headers_.get()); in OnPushPromiseHeadersReceived()
463 request_headers_.reset(new SpdyHeaderBlock(headers)); in OnPushPromiseHeadersReceived()
665 CHECK(!request_headers_); in SendRequestHeaders()
668 request_headers_ = request_headers.Pass(); in SendRequestHeaders()
749 if (!request_headers_) in GetUrlFromHeaders()
753 *request_headers_, GetProtocolVersion(), type_ == SPDY_PUSH_STREAM); in GetUrlFromHeaders()
Dspdy_stream.h518 scoped_ptr<SpdyHeaderBlock> request_headers_; variable
/external/chromium_org/net/quic/
Dquic_http_stream.cc119 SPDY3, /*direct=*/true, &request_headers_); in SendRequest()
429 base::Bind(&QuicRequestNetLogCallback, stream_->id(), &request_headers_, in DoSendHeaders()
434 base::Bind(&QuicRequestNetLogCallback, stream_->id(), &request_headers_, in DoSendHeaders()
440 int rv = stream_->WriteHeaders(request_headers_, !has_upload_data, NULL); in DoSendHeaders()
441 request_headers_.clear(); in DoSendHeaders()
Dquic_http_stream.h135 SpdyHeaderBlock request_headers_; variable
Dquic_http_stream_test.cc252 request_headers_ = maker_.GetRequestHeaders(method, "http", path); in SetRequest()
274 sequence_number, stream_id_, kIncludeVersion, fin, request_headers_); in ConstructRequestHeadersPacket()
325 SpdyHeaderBlock request_headers_; member in net::test::QuicHttpStreamTest