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

Unified Diff: net/url_request/test_url_fetcher_factory.h

Issue 14578004: Support range uploading of a file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | net/url_request/test_url_fetcher_factory.cc » ('j') | net/url_request/url_fetcher.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/test_url_fetcher_factory.h
diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h
index 951d223a10acd1268a0c2fff32d2cf4ce2da1643..bc17000b0ae4a5d3a893ac6b43cddabb366736d6 100644
--- a/net/url_request/test_url_fetcher_factory.h
+++ b/net/url_request/test_url_fetcher_factory.h
@@ -92,6 +92,12 @@ class TestURLFetcher : public URLFetcher {
const std::string& upload_content_type,
const base::FilePath& file_path,
scoped_refptr<base::TaskRunner> file_task_runner) OVERRIDE;
+ virtual void 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) OVERRIDE;
virtual void SetChunkedUpload(
const std::string& upload_content_type) OVERRIDE;
// Overriden to cache the chunks uploaded. Caller can read back the uploaded
« no previous file with comments | « no previous file | net/url_request/test_url_fetcher_factory.cc » ('j') | net/url_request/url_fetcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698