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

Unified Diff: content/public/renderer/history_item_serialization.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 | « content/content_tests.gypi ('k') | webkit/browser/blob/blob_data_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/history_item_serialization.cc
diff --git a/content/public/renderer/history_item_serialization.cc b/content/public/renderer/history_item_serialization.cc
index 80c305e9854b8d7ef9e9f67e8c05c36c5f16d5ac..5426557940a73f2353fc3306be0e62b90f7b02a6 100644
--- a/content/public/renderer/history_item_serialization.cc
+++ b/content/public/renderer/history_item_serialization.cc
@@ -42,13 +42,13 @@ void ToExplodedHttpBodyElement(const WebHTTPBody::Element& input,
output->file_modification_time = input.modificationTime;
break;
case WebHTTPBody::Element::TypeURL:
- output->url = input.url;
+ output->filesystem_url = input.url;
output->file_start = input.fileStart;
output->file_length = input.fileLength;
output->file_modification_time = input.modificationTime;
break;
case WebHTTPBody::Element::TypeBlob:
- output->url = input.url;
+ output->deprecated_blob_url = input.blobURL;
break;
}
}
@@ -68,13 +68,13 @@ void AppendHTTPBodyElement(const ExplodedHttpBodyElement& element,
break;
case WebHTTPBody::Element::TypeURL:
http_body->appendURLRange(
- element.url,
+ element.filesystem_url,
element.file_start,
element.file_length,
element.file_modification_time);
break;
case WebHTTPBody::Element::TypeBlob:
- http_body->appendBlob(element.url);
+ http_body->appendBlob(element.deprecated_blob_url);
break;
}
}
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/blob/blob_data_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698