/external/chromium_org/content/browser/loader/ |
D | upload_data_stream_builder_unittest.cc | 79 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 …]
|
D | upload_data_stream_builder.cc | 113 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/ |
D | urlmon_upload_data_stream.cc | 34 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/ |
D | http_stream_parser_unittest.cc | 107 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 …]
|
D | http_cache_unittest.cc | 2803 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 …]
|
D | http_network_transaction_unittest.cc | 1012 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/ |
D | upload_data_stream.h | 28 UploadDataStream(ScopedVector<UploadElementReader> element_readers, 83 const ScopedVector<UploadElementReader>& element_readers() const { in element_readers() function
|
D | upload_data_stream.cc | 16 ScopedVector<UploadElementReader> element_readers, in UploadDataStream() argument 18 : element_readers_(element_readers.Pass()), in UploadDataStream()
|
D | upload_data_stream_unittest.cc | 536 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/ |
D | quic_end_to_end_unittest.cc | 185 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()
|
D | quic_http_stream_test.cc | 516 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/ |
D | device_management_service_browsertest.cc | 71 upload->element_readers().size() == 1 && in ResponseJob() 72 upload->element_readers()[0]->AsBytesReader()) { in ResponseJob() 75 upload->element_readers()[0]->AsBytesReader(); in ResponseJob()
|
D | test_request_interceptor.cc | 81 stream->element_readers(); in ValidRequest()
|
/external/chromium_org/chrome/browser/automation/ |
D | url_request_automation_job.cc | 55 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/ |
D | spdy_network_transaction_unittest.cc | 424 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/ |
D | url_request_post_interceptor.cc | 186 stream->element_readers()[0]->AsBytesReader(); in MaybeCreateJob()
|
/external/chromium_org/content/browser/download/ |
D | download_manager_impl.cc | 76 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/ |
D | web_request_api_unittest.cc | 510 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()
|
D | web_request_api.cc | 253 upload_data->element_readers(); in ExtractRequestInfoBody()
|
/external/chromium_org/chrome/browser/sessions/ |
D | better_session_restore_browsertest.cc | 84 upload_data->element_readers(); in URLRequestFakerForPostRequests()
|
/external/chromium_org/net/url_request/ |
D | url_request_unittest.cc | 4704 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()
|