Home
last modified time | relevance | path

Searched refs:element_readers (Results 1 – 20 of 20) 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()
153 ASSERT_EQ(2U, upload->element_readers().size()); in TEST()
155 *upload->element_readers()[0], upload_element1)); in TEST()
157 *upload->element_readers()[1], upload_element2)); in TEST()
168 ASSERT_EQ(0U, upload->element_readers().size()); in TEST()
179 ASSERT_EQ(2U, upload->element_readers().size()); in TEST()
181 *upload->element_readers()[0], blob_element1)); in TEST()
183 *upload->element_readers()[1], blob_element2)); in TEST()
[all …]
Dupload_data_stream_builder.cc106 ScopedVector<net::UploadElementReader> element_readers; in Build() local
111 element_readers.push_back(new BytesElementReader(body, element)); in Build()
114 element_readers.push_back( in Build()
118 element_readers.push_back( in Build()
137 new net::UploadDataStream(element_readers.Pass(), body->identifier())); in Build()
/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/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.cc2774 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2775 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2776 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST()
2805 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2806 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2807 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST()
2824 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
2825 element_readers.push_back(new net::UploadBytesElementReader("hello", 5)); in TEST()
2826 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST()
2863 ScopedVector<net::UploadElementReader> element_readers; in TEST() local
[all …]
Dhttp_network_transaction_unittest.cc1112 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
1113 element_readers.push_back(new UploadBytesElementReader("foo", 3)); in TEST_P()
1114 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
5017 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
5018 element_readers.push_back(new UploadBytesElementReader("foo", 3)); in TEST_P()
5019 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
8098 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
8099 element_readers.push_back( in TEST_P()
8105 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
8155 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
[all …]
/external/chromium_org/net/quic/
Dquic_end_to_end_unittest.cc188 ScopedVector<UploadElementReader> element_readers; in InitializePostRequest() local
189 element_readers.push_back( in InitializePostRequest()
192 upload_data_stream_.reset(new UploadDataStream(element_readers.Pass(), 0)); in InitializePostRequest()
Dquic_http_stream_test.cc489 ScopedVector<UploadElementReader> element_readers; in TEST_P() local
490 element_readers.push_back( in TEST_P()
492 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P()
/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.cc85 stream->element_readers(); in ValidRequest()
/external/chromium_org/mojo/services/network/
Durl_loader_impl.cc196 ScopedVector<net::UploadElementReader> element_readers; in Start() local
198 element_readers.push_back( in Start()
202 new net::UploadDataStream(element_readers.Pass(), 0))); in Start()
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc455 ScopedVector<UploadElementReader> element_readers; in CreatePostRequest() local
456 element_readers.push_back( in CreatePostRequest()
459 new UploadDataStream(element_readers.Pass(), 0)); in CreatePostRequest()
476 ScopedVector<UploadElementReader> element_readers; in CreateFilePostRequest() local
477 element_readers.push_back( in CreateFilePostRequest()
484 new UploadDataStream(element_readers.Pass(), 0)); in CreateFilePostRequest()
504 ScopedVector<UploadElementReader> element_readers; in CreateUnreadableFilePostRequest() local
505 element_readers.push_back( in CreateUnreadableFilePostRequest()
512 new UploadDataStream(element_readers.Pass(), 0)); in CreateUnreadableFilePostRequest()
532 ScopedVector<UploadElementReader> element_readers; in CreateComplexPostRequest() local
[all …]
/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/components/component_updater/test/
Durl_request_post_interceptor.cc201 stream->element_readers()[0]->AsBytesReader(); in MaybeInterceptRequest()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api_unittest.cc511 ScopedVector<net::UploadElementReader> element_readers; in FireURLRequestWithData() local
512 element_readers.push_back(new net::UploadBytesElementReader( in FireURLRequestWithData()
514 element_readers.push_back( in FireURLRequestWithData()
520 element_readers.push_back( in FireURLRequestWithData()
523 new net::UploadDataStream(element_readers.Pass(), 0))); in FireURLRequestWithData()
/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.cc4817 ScopedVector<UploadElementReader> element_readers; in TEST_F() local
4825 element_readers.push_back( in TEST_F()
4832 new UploadDataStream(element_readers.Pass(), 0))); in TEST_F()
4865 ScopedVector<UploadElementReader> element_readers; in TEST_F() local
4867 element_readers.push_back(new UploadFileElementReader( in TEST_F()
4875 new UploadDataStream(element_readers.Pass(), 0))); in TEST_F()
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_api.cc243 upload_data->element_readers(); in ExtractRequestInfoBody()