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

Unified Diff: webkit/browser/blob/blob_url_request_job_factory.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 | « webkit/browser/blob/blob_storage_host.cc ('k') | webkit/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/blob_url_request_job_factory.cc
diff --git a/webkit/browser/blob/blob_url_request_job_factory.cc b/webkit/browser/blob/blob_url_request_job_factory.cc
index 6f4f70fa82d3ff0a69057bd00d1664127fa18da3..ed0a400e2ff78a6c6a047cfa07acebcc7040d240 100644
--- a/webkit/browser/blob/blob_url_request_job_factory.cc
+++ b/webkit/browser/blob/blob_url_request_job_factory.cc
@@ -74,13 +74,6 @@ BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const {
if (!context_.get())
return NULL;
- // Retain support for looking up based on deprecated blob urls for now.
- // The FeedbackExtensionAPI relies on this.
- scoped_ptr<BlobDataHandle> handle = context_->GetBlobDataFromUUID(
- context_->LookupUuidFromDeprecatedURL(request->url()));
- if (handle)
- return handle->data();
-
// Support looking up based on uuid, the FeedbackExtensionAPI relies on this.
// TODO(michaeln): Replace this use case and others like it with a BlobReader
// impl that does not depend on urlfetching to perform this function.
@@ -88,7 +81,7 @@ BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const {
if (!StartsWithASCII(request->url().spec(), kPrefix, true))
return NULL;
std::string uuid = request->url().spec().substr(kPrefix.length());
- handle = context_->GetBlobDataFromUUID(uuid);
+ scoped_ptr<BlobDataHandle> handle = context_->GetBlobDataFromUUID(uuid);
return handle.get() ? handle->data() : NULL;
}
« no previous file with comments | « webkit/browser/blob/blob_storage_host.cc ('k') | webkit/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698