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

Unified Diff: webkit/common/resource_request_body.cc

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: webkit/common/resource_request_body.cc
diff --git a/webkit/common/resource_request_body.cc b/webkit/common/resource_request_body.cc
index 42b798fefe190ec6452568fdf21ecb16e2b52443..638e489f51561637853ef6247edc0a5aa8b2104a 100644
--- a/webkit/common/resource_request_body.cc
+++ b/webkit/common/resource_request_body.cc
@@ -39,6 +39,16 @@ void ResourceRequestBody::AppendFileSystemFileRange(
expected_modification_time);
}
+#if defined(OS_ANDROID)
+void ResourceRequestBody::AppendContentUrlRange(
+ const GURL& url, uint64 offset, uint64 length,
+ const base::Time& expected_modification_time) {
+ elements_.push_back(Element());
+ elements_.back().SetToContentUrlRange(url, offset, length,
+ expected_modification_time);
+}
+#endif
+
ResourceRequestBody::~ResourceRequestBody() {
}

Powered by Google App Engine
This is Rietveld 408576698