| Index: net/url_request/url_request.cc
|
| ===================================================================
|
| --- net/url_request/url_request.cc (revision 42417)
|
| +++ net/url_request/url_request.cc (working copy)
|
| @@ -86,12 +86,16 @@
|
| upload_->AppendBytes(bytes, bytes_len);
|
| }
|
|
|
| -void URLRequest::AppendFileRangeToUpload(const FilePath& file_path,
|
| - uint64 offset, uint64 length) {
|
| +void URLRequest::AppendFileRangeToUpload(
|
| + const FilePath& file_path,
|
| + uint64 offset,
|
| + uint64 length,
|
| + const base::Time& expected_modification_time) {
|
| DCHECK(file_path.value().length() > 0 && length > 0);
|
| if (!upload_)
|
| upload_ = new UploadData();
|
| - upload_->AppendFileRange(file_path, offset, length);
|
| + upload_->AppendFileRange(file_path, offset, length,
|
| + expected_modification_time);
|
| }
|
|
|
| void URLRequest::set_upload(net::UploadData* upload) {
|
|
|