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

Unified Diff: content/common/resource_messages.cc

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « content/common/fileapi/webfilewriter_impl.cc ('k') | content/common/webkitplatformsupport_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.cc
===================================================================
--- content/common/resource_messages.cc (revision 183651)
+++ content/common/resource_messages.cc (working copy)
@@ -50,7 +50,7 @@
break;
}
case webkit_base::DataElement::TYPE_FILE_FILESYSTEM: {
- WriteParam(m, p.url());
+ WriteParam(m, p.filesystem_url());
WriteParam(m, p.offset());
WriteParam(m, p.length());
WriteParam(m, p.expected_modification_time());
@@ -58,7 +58,7 @@
}
default: {
DCHECK(p.type() == webkit_base::DataElement::TYPE_BLOB);
- WriteParam(m, p.url());
+ WriteParam(m, p.blob_uuid());
WriteParam(m, p.offset());
WriteParam(m, p.length());
break;
@@ -114,15 +114,15 @@
}
default: {
DCHECK(type == webkit_base::DataElement::TYPE_BLOB);
- GURL blob_url;
+ std::string blob_uuid;
uint64 offset, length;
- if (!ReadParam(m, iter, &blob_url))
+ if (!ReadParam(m, iter, &blob_uuid))
return false;
if (!ReadParam(m, iter, &offset))
return false;
if (!ReadParam(m, iter, &length))
return false;
- r->SetToBlobUrlRange(blob_url, offset, length);
+ r->SetToBlobRange(blob_uuid, offset, length);
break;
}
}
« no previous file with comments | « content/common/fileapi/webfilewriter_impl.cc ('k') | content/common/webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698