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

Unified Diff: content/public/renderer/history_item_serialization.cc

Issue 29513003: Cleanup deprecated and no longer needed blob revamp stuff, deadcode. (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
« no previous file with comments | « content/common/resource_messages.cc ('k') | webkit/browser/blob/blob_storage_context.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 d011fd2e8f916863a4146cbf4dc57e6f3d234d3c..6bef7de3f3c392fa8bb50f6ab5791e21e253e6fb 100644
--- a/content/public/renderer/history_item_serialization.cc
+++ b/content/public/renderer/history_item_serialization.cc
@@ -48,11 +48,7 @@ void ToExplodedHttpBodyElement(const WebHTTPBody::Element& input,
output->file_modification_time = input.modificationTime;
break;
case WebHTTPBody::Element::TypeBlob:
-#ifdef USE_BLOB_UUIDS
output->blob_uuid = input.blobUUID.utf8();
-#else
- output->deprecated_blob_url = input.blobURL;
-#endif
break;
}
}
@@ -78,11 +74,7 @@ void AppendHTTPBodyElement(const ExplodedHttpBodyElement& element,
element.file_modification_time);
break;
case WebHTTPBody::Element::TypeBlob:
-#ifdef USE_BLOB_UUIDS
http_body->appendBlob(WebString::fromUTF8(element.blob_uuid));
-#else
- http_body->appendBlob(element.deprecated_blob_url);
-#endif
break;
}
}
« no previous file with comments | « content/common/resource_messages.cc ('k') | webkit/browser/blob/blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698