Searched refs:UploadElement (Results 1 – 7 of 7) sorted by relevance
18 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) {
14 UploadElement::UploadElement() in UploadElement() function in net::UploadElement22 UploadElement::~UploadElement() { in ~UploadElement()
50 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_;
20 elements_.push_back(new UploadElement()); in AppendBytes()29 elements_.push_back(new UploadElement()); in AppendFileRange()
17 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()
1081 ScopedVector<net::UploadElement>* elements = in StartRequestHelper()1084 net::UploadElement* element = (*elements)[i]; in StartRequestHelper()1085 DCHECK(element->type() == net::UploadElement::TYPE_BYTES); in StartRequestHelper()
137 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()