Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 14578004: Support range uploading of a file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error on Win, Mac and Android. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d4264b4419a3a78d2d5bcc1ae12e9bb75ae90a19..fd24d98460d4c7b354dc3d27862c806d90c5c5a2 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -31,8 +31,14 @@ void URLFetcherImpl::SetUploadData(const std::string& upload_content_type,
void URLFetcherImpl::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) {
- core_->SetUploadFilePath(upload_content_type, file_path, 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) {
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698