Home
last modified time | relevance | path

Searched refs:UploadElement (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/base/
Dupload_element.h18 class NET_EXPORT UploadElement {
25 UploadElement();
26 ~UploadElement();
81 DISALLOW_COPY_AND_ASSIGN(UploadElement);
85 inline bool operator==(const UploadElement& a,
86 const UploadElement& b) {
89 if (a.type() == UploadElement::TYPE_BYTES)
92 if (a.type() == UploadElement::TYPE_FILE) {
102 inline bool operator!=(const UploadElement& a,
103 const UploadElement& b) {
Dupload_element.cc14 UploadElement::UploadElement() in UploadElement() function in net::UploadElement
22 UploadElement::~UploadElement() { in ~UploadElement()
Dupload_data.h50 const ScopedVector<UploadElement>& elements() const { in elements()
54 ScopedVector<UploadElement>* elements_mutable() { in elements_mutable()
58 void swap_elements(ScopedVector<UploadElement>* elements) { in swap_elements()
73 ScopedVector<UploadElement> elements_;
Dupload_data.cc20 elements_.push_back(new UploadElement()); in AppendBytes()
29 elements_.push_back(new UploadElement()); in AppendFileRange()
/external/chromium_org/chrome_frame/
Durlmon_upload_data_stream.cc17 const ScopedVector<net::UploadElement>& elements = upload_data->elements(); in CreateUploadDataStream()
25 const net::UploadElement& element = *elements[i]; in CreateUploadDataStream()
28 DCHECK_EQ(net::UploadElement::TYPE_BYTES, element.type()); in CreateUploadDataStream()
36 const net::UploadElement& element = *elements[i]; in CreateUploadDataStream()
39 case net::UploadElement::TYPE_BYTES: in CreateUploadDataStream()
43 case net::UploadElement::TYPE_FILE: in CreateUploadDataStream()
Durlmon_url_request.cc1081 ScopedVector<net::UploadElement>* elements = in StartRequestHelper()
1084 net::UploadElement* element = (*elements)[i]; in StartRequestHelper()
1085 DCHECK(element->type() == net::UploadElement::TYPE_BYTES); in StartRequestHelper()
/external/chromium_org/chrome/common/
Dautomation_messages.cc137 struct ParamTraits<net::UploadElement> {
138 typedef net::UploadElement param_type;
142 case net::UploadElement::TYPE_BYTES: { in Write()
147 DCHECK(p.type() == net::UploadElement::TYPE_FILE); in Write()
161 case net::UploadElement::TYPE_BYTES: { in Read()
170 DCHECK(type == net::UploadElement::TYPE_FILE); in Read()
213 ScopedVector<net::UploadElement> elements; in Read()