Adding support for upload chunked encoding.

This commit is contained in:
ali.ibrahim 2016-09-27 12:33:51 +02:00
parent 9498a5738a
commit cbbc4376ca
5 changed files with 95 additions and 24 deletions

View file

@ -34,7 +34,7 @@ public:
const std::string& url,
base::WeakPtr<api::URLRequest> delegate);
bool WriteBuffer(scoped_refptr<const net::IOBufferWithSize> buffer,
bool Write(scoped_refptr<const net::IOBufferWithSize> buffer,
bool is_last);
void SetChunkedUpload(bool is_chunked_upload);
void Abort() const;