Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dupload_data.cc19 UploadData::Element::Element() in Element()
30 UploadData::Element::~Element() { in ~Element()
35 void UploadData::Element::SetToChunk(const char* bytes, in SetToChunk()
44 uint64 UploadData::Element::GetContentLength() { in GetContentLength()
91 FileStream* UploadData::Element::NewFileStreamForReading() { in NewFileStreamForReading()
123 UploadData::UploadData() in UploadData() function in net::UploadData
129 void UploadData::AppendBytes(const char* bytes, int bytes_len) { in AppendBytes()
137 void UploadData::AppendFile(const FilePath& file_path) { in AppendFile()
143 void UploadData::AppendFileRange(const FilePath& file_path, in AppendFileRange()
152 void UploadData::AppendBlob(const GURL& blob_url) { in AppendBlob()
[all …]
Dupload_data.h33 class UploadData : public base::RefCounted<UploadData> {
143 UploadData();
187 friend class base::RefCounted<UploadData>;
189 ~UploadData();
196 DISALLOW_COPY_AND_ASSIGN(UploadData);
200 inline bool operator==(const UploadData::Element& a,
201 const UploadData::Element& b) {
204 if (a.type() == UploadData::TYPE_BYTES)
206 if (a.type() == UploadData::TYPE_FILE) {
213 if (a.type() == UploadData::TYPE_BLOB)
[all …]
Dupload_data_stream.cc20 UploadDataStream* UploadDataStream::Create(UploadData* data, int* error_code) { in Create()
46 UploadDataStream::UploadDataStream(UploadData* data) in UploadDataStream()
59 std::vector<UploadData::Element>& elements = *data_->elements(); in FillBuf()
64 UploadData::Element& element = elements[next_element_]; in FillBuf()
67 if (element.type() == UploadData::TYPE_BYTES || in FillBuf()
68 element.type() == UploadData::TYPE_CHUNK) { in FillBuf()
88 DCHECK(element.type() == UploadData::TYPE_FILE); in FillBuf()
166 const std::vector<UploadData::Element>& elements = *data_->elements(); in IsOnLastChunk()
Dupload_data_stream_unittest.cc30 UploadDataStreamTest() : upload_data_(new UploadData) { } in UploadDataStreamTest()
36 scoped_refptr<UploadData> upload_data_;
64 std::vector<UploadData::Element> elements; in TEST_F()
65 UploadData::Element element; in TEST_F()
91 std::vector<UploadData::Element> elements; in FileChangedHelper()
92 UploadData::Element element; in FileChangedHelper()
Dupload_data_stream.h28 static UploadDataStream* Create(UploadData* data, int* error_code);
78 explicit UploadDataStream(UploadData* data);
85 scoped_refptr<UploadData> data_;
/external/chromium/net/url_request/
Durl_request.h46 class UploadData; variable
346 void set_upload(UploadData* upload);
349 UploadData* get_upload();
630 scoped_refptr<UploadData> upload_;
Durl_request.cc168 upload_ = new UploadData(); in AppendBytesToUpload()
179 upload_ = new UploadData(); in AppendFileRangeToUpload()
187 upload_ = new UploadData(); in EnableChunkedUpload()
201 void URLRequest::set_upload(UploadData* upload) { in set_upload()
206 UploadData* URLRequest::get_upload() { in get_upload()
Durl_request_job.h29 class UploadData; variable
45 virtual void SetUpload(UploadData* upload);
Durl_request_http_job.h67 virtual void SetUpload(UploadData* upload);
Durl_request_job.cc39 void URLRequestJob::SetUpload(UploadData* upload) { in SetUpload()
Durl_request_unittest.cc99 scoped_refptr<UploadData> CreateSimpleUploadData(const char* data) { in CreateSimpleUploadData()
100 scoped_refptr<UploadData> upload(new UploadData); in CreateSimpleUploadData()
Durl_request_http_job.cc750 void URLRequestHttpJob::SetUpload(UploadData* upload) { in SetUpload()
/external/chromium/net/http/
Dhttp_request_info.h45 scoped_refptr<UploadData> upload_data;
Dhttp_network_transaction_unittest.cc681 request.upload_data = new UploadData; in TEST_F()
3484 request[1].upload_data = new UploadData; in TEST_F()
6086 request.upload_data = new UploadData; in TEST_F()
6097 std::vector<UploadData::Element> elements; in TEST_F()
6098 UploadData::Element element; in TEST_F()
6139 request.upload_data = new UploadData; in TEST_F()
6155 std::vector<UploadData::Element> elements; in TEST_F()
6156 UploadData::Element element; in TEST_F()
6196 request.upload_data = new UploadData; in TEST_F()
6210 std::vector<UploadData::Element> elements; in TEST_F()
[all …]
Dhttp_cache_unittest.cc2794 request.upload_data = new net::UploadData(); in TEST()
/external/chromium/chrome/common/
Dautomation_messages.h191 scoped_refptr<net::UploadData> upload_data,
200 scoped_refptr<net::UploadData> upload_data;
Dautomation_messages.cc21 scoped_refptr<net::UploadData> in_upload_data, in AutomationURLRequest()
/external/chromium/net/spdy/
Dspdy_http_stream.h28 class UploadData; variable
Dspdy_http_stream_unittest.cc132 request.upload_data = new UploadData(); in TEST_F()
Dspdy_network_transaction_unittest.cc375 google_post_request_.upload_data = new UploadData(); in CreatePostRequest()
387 google_chunked_post_request_.upload_data = new UploadData(); in CreateChunkedPostRequest()
1655 request.upload_data = new UploadData(); in TEST_P()
1700 request.upload_data = new UploadData(); in TEST_P()
1899 request.upload_data = new UploadData(); in TEST_P()
2061 request.upload_data = new UploadData(); in TEST_P()
2168 request.upload_data = new UploadData(); in TEST_P()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0640218 Call computeSize(), fill Content-Length and prevent UploadData buffering