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

Unified Diff: webkit/common/resource_request_body.cc

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « webkit/common/resource_request_body.h ('k') | webkit/storage_browser.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/resource_request_body.cc
diff --git a/webkit/common/resource_request_body.cc b/webkit/common/resource_request_body.cc
index 6263529e8bca2935e86286637ad4347e7f8683ef..097751b5cc329cc820488c3d3425faa35cf35bd3 100644
--- a/webkit/common/resource_request_body.cc
+++ b/webkit/common/resource_request_body.cc
@@ -26,11 +26,16 @@ void ResourceRequestBody::AppendFileRange(
expected_modification_time);
}
-void ResourceRequestBody::AppendBlob(const GURL& blob_url) {
+void ResourceRequestBody::AppendBlobDeprecated(const GURL& blob_url) {
elements_.push_back(Element());
elements_.back().SetToBlobUrl(blob_url);
}
+void ResourceRequestBody::AppendBlob(const std::string& uuid) {
+ elements_.push_back(Element());
+ elements_.back().SetToBlob(uuid);
+}
+
void ResourceRequestBody::AppendFileSystemFileRange(
const GURL& url, uint64 offset, uint64 length,
const base::Time& expected_modification_time) {
« no previous file with comments | « webkit/common/resource_request_body.h ('k') | webkit/storage_browser.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698