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

Unified Diff: storage/browser/blob/blob_url_request_job_factory.h

Issue 1376123002: Revert of [Blob] BlobReader class & tests, and removal of all redundant reading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « storage/browser/blob/blob_url_request_job.cc ('k') | storage/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_url_request_job_factory.h
diff --git a/storage/browser/blob/blob_url_request_job_factory.h b/storage/browser/blob/blob_url_request_job_factory.h
index dcb2fd6784b27baa88d59cdd3585aa6240d35747..7f7a5506447ad7eb617d9aaa5c11fef9c9a37a1d 100644
--- a/storage/browser/blob/blob_url_request_job_factory.h
+++ b/storage/browser/blob/blob_url_request_job_factory.h
@@ -26,6 +26,7 @@
namespace storage {
+class BlobDataSnapshot;
class BlobDataHandle;
class BlobStorageContext;
@@ -44,9 +45,6 @@
net::URLRequest* request,
scoped_ptr<BlobDataHandle> blob_data_handle);
- // This gets the handle on the request if it exists.
- static BlobDataHandle* GetRequestBlobDataHandle(net::URLRequest* request);
-
BlobProtocolHandler(
BlobStorageContext* context,
storage::FileSystemContext* file_system_context,
@@ -58,7 +56,7 @@
net::NetworkDelegate* network_delegate) const override;
private:
- BlobDataHandle* LookupBlobHandle(net::URLRequest* request) const;
+ scoped_ptr<BlobDataSnapshot> LookupBlobData(net::URLRequest* request) const;
base::WeakPtr<BlobStorageContext> context_;
const scoped_refptr<storage::FileSystemContext> file_system_context_;
« no previous file with comments | « storage/browser/blob/blob_url_request_job.cc ('k') | storage/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698