diff options
Diffstat (limited to 'net/url_request/url_fetcher.h')
-rw-r--r-- | net/url_request/url_fetcher.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h index 9d2be1d..c8a587d 100644 --- a/net/url_request/url_fetcher.h +++ b/net/url_request/url_fetcher.h @@ -135,10 +135,14 @@ class NET_EXPORT URLFetcher { // |upload_content_type| is the MIME type of the content, while // |file_path| is the path to the file containing the data to be sent (the // Content-Length header value will be set to the length of this file). + // |range_offset| and |range_length| specify the range of the part + // to be uploaded. To upload the whole file, (0, kuint64max) can be used. // |file_task_runner| will be used for all file operations. virtual void SetUploadFilePath( const std::string& upload_content_type, const base::FilePath& file_path, + uint64 range_offset, + uint64 range_length, scoped_refptr<base::TaskRunner> file_task_runner) = 0; // Indicates that the POST data is sent via chunked transfer encoding. |