Index: net/url_request/url_fetcher_impl.cc |
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc |
index 106bc0283b85c1f6dd7f06c162e795b077c4824b..d900a8f42770ef0de3939724dcdee8220b623d5f 100644 |
--- a/net/url_request/url_fetcher_impl.cc |
+++ b/net/url_request/url_fetcher_impl.cc |
@@ -33,7 +33,24 @@ void URLFetcherImpl::SetUploadFilePath( |
const std::string& upload_content_type, |
const base::FilePath& file_path, |
scoped_refptr<base::TaskRunner> file_task_runner) { |
- core_->SetUploadFilePath(upload_content_type, file_path, file_task_runner); |
+ core_->SetUploadFilePath(upload_content_type, |
+ file_path, |
+ 0, |
+ kuint64max, |
+ file_task_runner); |
+} |
+ |
+void URLFetcherImpl::SetUploadFilePathWithRange( |
+ const std::string& upload_content_type, |
+ const base::FilePath& file_path, |
+ uint64 range_offset, |
+ uint64 range_length, |
+ scoped_refptr<base::TaskRunner> file_task_runner) { |
+ core_->SetUploadFilePath(upload_content_type, |
+ file_path, |
+ range_offset, |
+ range_length, |
+ file_task_runner); |
} |
void URLFetcherImpl::SetChunkedUpload(const std::string& content_type) { |