Home
last modified time | relevance | path

Searched refs:upload_data_stream (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/net/http/
Dhttp_stream_parser.cc227 if (request_->upload_data_stream != NULL) { in SendRequest()
229 if (request_->upload_data_stream->is_chunked()) { in SendRequest()
245 if (ShouldMergeRequestHeadersAndBody(request, request_->upload_data_stream)) { in SendRequest()
246 size_t merged_size = request.size() + request_->upload_data_stream->size(); in SendRequest()
257 size_t todo = request_->upload_data_stream->size(); in SendRequest()
259 int consumed = request_->upload_data_stream in SendRequest()
265 DCHECK(request_->upload_data_stream->IsEOF()); in SendRequest()
273 request_->upload_data_stream->size(), in SendRequest()
429 } else if (request_->upload_data_stream != NULL && in DoSendHeaders()
430 (request_->upload_data_stream->is_chunked() || in DoSendHeaders()
[all …]
Dhttp_request_info.cc10 : upload_data_stream(NULL), in HttpRequestInfo()
Dhttp_request_info.h44 UploadDataStream* upload_data_stream; member
Dhttp_cache_unittest.cc2805 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST() local
2807 request.upload_data_stream = &upload_data_stream; in TEST()
2836 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST() local
2839 request.upload_data_stream = &upload_data_stream; in TEST()
2855 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST() local
2859 req1.upload_data_stream = &upload_data_stream; in TEST()
2894 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST() local
2899 req2.upload_data_stream = &upload_data_stream; in TEST()
2933 net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST() local
2938 req2.upload_data_stream = &upload_data_stream; in TEST()
[all …]
Dhttp_network_transaction.cc201 if (request_ && request_->upload_data_stream) in ~HttpNetworkTransaction()
202 request_->upload_data_stream->Reset(); // Invalidate pending callbacks. in ~HttpNetworkTransaction()
826 if (request_->upload_data_stream) { in BuildRequestHeaders()
827 if (request_->upload_data_stream->is_chunked()) { in BuildRequestHeaders()
833 base::Uint64ToString(request_->upload_data_stream->size())); in BuildRequestHeaders()
868 if (request_->upload_data_stream) in DoInitRequestBody()
869 rv = request_->upload_data_stream->Init(io_callback_); in DoInitRequestBody()
Dhttp_cache.cc507 if (request->upload_data_stream && in GenerateCacheKey()
508 request->upload_data_stream->identifier()) { in GenerateCacheKey()
510 "%" PRId64 "/", request->upload_data_stream->identifier())); in GenerateCacheKey()
Dhttp_cache_transaction.cc1772 if (request_->method == "POST" && request_->upload_data_stream && in ShouldPassThrough()
1773 request_->upload_data_stream->identifier()) { in ShouldPassThrough()
1777 if (request_->method == "PUT" && request_->upload_data_stream) in ShouldPassThrough()
Dhttp_network_transaction_unittest.cc1014 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
1019 request.upload_data_stream = &upload_data_stream; in TEST_P()
4570 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
4584 request[1].upload_data_stream = &upload_data_stream; in TEST_P()
7667 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
7672 request.upload_data_stream = &upload_data_stream; in TEST_P()
7724 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
7729 request.upload_data_stream = &upload_data_stream; in TEST_P()
7782 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
7787 request.upload_data_stream = &upload_data_stream; in TEST_P()
Dhttp_stream_parser_unittest.cc245 request_info.upload_data_stream = &upload_stream; in TEST()
/external/chromium_org/chrome_frame/
Durlmon_upload_data_stream.cc16 net::UploadDataStream* upload_data_stream = NULL; in CreateUploadDataStream() local
21 upload_data_stream = new net::UploadDataStream( in CreateUploadDataStream()
29 upload_data_stream->AppendChunk(element.bytes(), element.bytes_length(), in CreateUploadDataStream()
54 upload_data_stream = new net::UploadDataStream(element_readers.Pass(), in CreateUploadDataStream()
57 return upload_data_stream; in CreateUploadDataStream()
/external/chromium_org/net/spdy/
Dspdy_http_stream.cc100 return UploadProgress(request_info_->upload_data_stream->position(), in GetUploadProgress()
101 request_info_->upload_data_stream->size()); in GetUploadProgress()
394 request_info_->upload_data_stream && in HasUploadData()
395 ((request_info_->upload_data_stream->size() > 0) || in HasUploadData()
396 request_info_->upload_data_stream->is_chunked()); in HasUploadData()
413 if (request_info_->upload_data_stream->IsEOF()) in ReadAndSendRequestBodyData()
417 const int rv = request_info_->upload_data_stream in ReadAndSendRequestBodyData()
433 const bool eof = request_info_->upload_data_stream->IsEOF(); in OnRequestBodyReadCompleted()
Dspdy_network_transaction_unittest.cc432 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreatePostRequest()
457 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateFilePostRequest()
485 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateUnreadableFilePostRequest()
518 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateComplexPostRequest()
530 google_chunked_post_request_.upload_data_stream = in CreateChunkedPostRequest()
1892 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1894 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1932 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1940 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1943 helper.request().upload_data_stream->AppendChunk( in TEST_P()
[all …]
Dspdy_http_stream_unittest.cc347 request.upload_data_stream = &upload_stream; in TEST_P()
418 request.upload_data_stream = &upload_stream; in TEST_P()
572 request.upload_data_stream = &upload_stream; in TEST_P()
/external/chromium_org/net/quic/
Dquic_http_stream_test.cc519 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_F() local
522 request_.upload_data_stream = &upload_data_stream; in TEST_F()
523 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in TEST_F()
577 UploadDataStream upload_data_stream(UploadDataStream::CHUNKED, 0); in TEST_F() local
578 upload_data_stream.AppendChunk(kUploadData, chunk_size, false); in TEST_F()
582 request_.upload_data_stream = &upload_data_stream; in TEST_F()
583 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in TEST_F()
591 upload_data_stream.AppendChunk(kUploadData, chunk_size, true); in TEST_F()
Dquic_end_to_end_unittest.cc192 request_.upload_data_stream = upload_data_stream_.get(); in InitializePostRequest()
193 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in InitializePostRequest()
Dquic_http_stream.cc113 request_body_stream_ = request_info_->upload_data_stream; in SendRequest()
/external/chromium_org/chrome/browser/automation/
Durl_request_automation_job.cc53 const net::UploadDataStream* upload_data_stream) { in CreateUploadData() argument
56 upload_data_stream->element_readers(); in CreateUploadData()
74 upload_data->set_identifier(upload_data_stream->identifier()); in CreateUploadData()
75 upload_data->set_is_chunked(upload_data_stream->is_chunked()); in CreateUploadData()
77 upload_data_stream->last_chunk_appended()); in CreateUploadData()
/external/chromium_org/net/url_request/
Durl_request_job.h57 virtual void SetUpload(UploadDataStream* upload_data_stream);
Durl_request_http_job.cc987 request_info_.upload_data_stream = upload; in SetUpload()
/external/chromium/
DAndroid.mk205 net/base/upload_data_stream.cc \
/external/chromium/net/
Dnet.gyp206 'base/upload_data_stream.cc',
207 'base/upload_data_stream.h',
/external/chromium_org/tools/gn/secondary/net/
DBUILD.gn172 "base/upload_data_stream.cc",
173 "base/upload_data_stream.h",
/external/chromium_org/net/
Dnet.target.linux-arm.mk91 net/base/upload_data_stream.cc \
Dnet.target.darwin-arm.mk91 net/base/upload_data_stream.cc \
Dnet.target.linux-mips.mk91 net/base/upload_data_stream.cc \

12