Home
last modified time | relevance | path

Searched refs:element_readers (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/content/browser/loader/
Dupload_data_stream_builder_unittest.cc79 ASSERT_EQ(request_body->elements()->size(), upload->element_readers().size()); in TEST()
82 upload->element_readers()[0]->AsBytesReader(); in TEST()
87 upload->element_readers()[1]->AsFileReader(); in TEST()
148 ASSERT_EQ(2U, upload->element_readers().size()); in TEST()
149 EXPECT_TRUE(AreElementsEqual(*upload->element_readers()[0], upload_element1)); in TEST()
150 EXPECT_TRUE(AreElementsEqual(*upload->element_readers()[1], upload_element2)); in TEST()
161 ASSERT_EQ(0U, upload->element_readers().size()); in TEST()
172 ASSERT_EQ(2U, upload->element_readers().size()); in TEST()
173 EXPECT_TRUE(AreElementsEqual(*upload->element_readers()[0], blob_element1)); in TEST()
174 EXPECT_TRUE(AreElementsEqual(*upload->element_readers()[1], blob_element2)); in TEST()
[all …]
Dupload_data_stream_builder.cc113 ScopedVector<net::UploadElementReader> element_readers; in Build() local
118 element_readers.push_back(new BytesElementReader(body, element)); in Build()
121 element_readers.push_back( in Build()
125 element_readers.push_back( in Build()
144 new net::UploadDataStream(element_readers.Pass(), body->identifier())); in Build()
/external/chromium_org/chrome_frame/
Durlmon_upload_data_stream.cc34 ScopedVector<net::UploadElementReader> element_readers; in CreateUploadDataStream() local
52 element_readers.push_back(reader); in CreateUploadDataStream()
54 upload_data_stream = new net::UploadDataStream(element_readers.Pass(), in CreateUploadDataStream()
/external/chromium_org/net/http/
Dhttp_stream_parser_unittest.cc107 ScopedVector<UploadElementReader> element_readers; in TEST() local
109 new UploadDataStream(element_readers.Pass(), 0)); in TEST()
129 ScopedVector<UploadElementReader> element_readers; in TEST() local
138 element_readers.push_back( in TEST()
146 new UploadDataStream(element_readers.Pass(), 0)); in TEST()
159 ScopedVector<UploadElementReader> element_readers; in TEST() local
161 element_readers.push_back(new UploadBytesElementReader( in TEST()
165 new UploadDataStream(element_readers.Pass(), 0)); in TEST()
173 ScopedVector<UploadElementReader> element_readers; in TEST() local
175 element_readers.push_back(new UploadBytesElementReader( in TEST()
[all …]
Dhttp_cache_unittest.cc2803 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2804 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2805 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST()
2834 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2835 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2836 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST()
2853 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2854 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2855 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST()
2892 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
[all …]
Dhttp_network_transaction_unittest.cc1012 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
1013 element_readers.push_back(new UploadBytesElementReader("foo", 3)); in TEST_P()
1014 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
4568 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
4569 element_readers.push_back(new UploadBytesElementReader("foo", 3)); in TEST_P()
4570 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
7660 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
7661 element_readers.push_back( in TEST_P()
7667 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
7717 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
[all …]
/external/chromium_org/net/base/
Dupload_data_stream.h28 UploadDataStream(ScopedVector<UploadElementReader> element_readers,
83 const ScopedVector<UploadElementReader>& element_readers() const { in element_readers() function
Dupload_data_stream.cc16 ScopedVector<UploadElementReader> element_readers, in UploadDataStream() argument
18 : element_readers_(element_readers.Pass()), in UploadDataStream()
Dupload_data_stream_unittest.cc536 ScopedVector<UploadElementReader> element_readers; in FileChangedHelper() local
537 element_readers.push_back(new UploadFileElementReader( in FileChangedHelper()
541 UploadDataStream stream(element_readers.Pass(), 0); in FileChangedHelper()
/external/chromium_org/net/quic/
Dquic_end_to_end_unittest.cc185 ScopedVector<UploadElementReader> element_readers; in InitializePostRequest() local
186 element_readers.push_back( in InitializePostRequest()
189 upload_data_stream_.reset(new UploadDataStream(element_readers.Pass(), 0)); in InitializePostRequest()
Dquic_http_stream_test.cc516 ScopedVector<UploadElementReader> element_readers; in TEST_F() local
517 element_readers.push_back( in TEST_F()
519 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_F()
/external/chromium_org/chrome/browser/policy/cloud/
Ddevice_management_service_browsertest.cc71 upload->element_readers().size() == 1 && in ResponseJob()
72 upload->element_readers()[0]->AsBytesReader()) { in ResponseJob()
75 upload->element_readers()[0]->AsBytesReader(); in ResponseJob()
Dtest_request_interceptor.cc81 stream->element_readers(); in ValidRequest()
/external/chromium_org/chrome/browser/automation/
Durl_request_automation_job.cc55 const ScopedVector<net::UploadElementReader>& element_readers = in CreateUploadData() local
56 upload_data_stream->element_readers(); in CreateUploadData()
57 for (size_t i = 0; i < element_readers.size(); ++i) { in CreateUploadData()
58 const net::UploadElementReader* reader = element_readers[i]; in CreateUploadData()
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc424 ScopedVector<UploadElementReader> element_readers; in CreatePostRequest() local
425 element_readers.push_back( in CreatePostRequest()
428 new UploadDataStream(element_readers.Pass(), 0)); in CreatePostRequest()
445 ScopedVector<UploadElementReader> element_readers; in CreateFilePostRequest() local
446 element_readers.push_back( in CreateFilePostRequest()
453 new UploadDataStream(element_readers.Pass(), 0)); in CreateFilePostRequest()
473 ScopedVector<UploadElementReader> element_readers; in CreateUnreadableFilePostRequest() local
474 element_readers.push_back( in CreateUnreadableFilePostRequest()
481 new UploadDataStream(element_readers.Pass(), 0)); in CreateUnreadableFilePostRequest()
501 ScopedVector<UploadElementReader> element_readers; in CreateComplexPostRequest() local
[all …]
/external/chromium_org/chrome/browser/component_updater/test/
Durl_request_post_interceptor.cc186 stream->element_readers()[0]->AsBytesReader(); in MaybeCreateJob()
/external/chromium_org/content/browser/download/
Ddownload_manager_impl.cc76 ScopedVector<net::UploadElementReader> element_readers; in BeginDownload() local
78 new net::UploadDataStream(element_readers.Pass(), params->post_id()))); in BeginDownload()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api_unittest.cc510 ScopedVector<net::UploadElementReader> element_readers; in FireURLRequestWithData() local
511 element_readers.push_back(new net::UploadBytesElementReader( in FireURLRequestWithData()
513 element_readers.push_back( in FireURLRequestWithData()
519 element_readers.push_back( in FireURLRequestWithData()
522 new net::UploadDataStream(element_readers.Pass(), 0))); in FireURLRequestWithData()
Dweb_request_api.cc253 upload_data->element_readers(); in ExtractRequestInfoBody()
/external/chromium_org/chrome/browser/sessions/
Dbetter_session_restore_browsertest.cc84 upload_data->element_readers(); in URLRequestFakerForPostRequests()
/external/chromium_org/net/url_request/
Durl_request_unittest.cc4704 ScopedVector<UploadElementReader> element_readers; in TEST_F() local
4712 element_readers.push_back( in TEST_F()
4719 new UploadDataStream(element_readers.Pass(), 0))); in TEST_F()
4752 ScopedVector<UploadElementReader> element_readers; in TEST_F() local
4754 element_readers.push_back(new UploadFileElementReader( in TEST_F()
4762 new UploadDataStream(element_readers.Pass(), 0))); in TEST_F()