Adding support for upload chunked encoding.
This commit is contained in:
		
					parent
					
						
							
								9498a5738a
							
						
					
				
			
			
				commit
				
					
						cbbc4376ca
					
				
			
		
					 5 changed files with 95 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue