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

Unified Diff: content/browser/service_worker/service_worker_url_request_job.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: memory leak fixed Created 5 years, 11 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
Index: content/browser/service_worker/service_worker_url_request_job.h
diff --git a/content/browser/service_worker/service_worker_url_request_job.h b/content/browser/service_worker/service_worker_url_request_job.h
index 7ce80076eda60ff95a526389267e59d26e735520..84b5717a4832a3d93f62777c6cdd7723791cdbe8 100644
--- a/content/browser/service_worker/service_worker_url_request_job.h
+++ b/content/browser/service_worker/service_worker_url_request_job.h
@@ -30,7 +30,7 @@ class IOBuffer;
}
namespace storage {
-class BlobDataHandle;
+class BlobDataSnapshotHandle;
class BlobStorageContext;
}
@@ -201,7 +201,7 @@ class CONTENT_EXPORT ServiceWorkerURLRequestJob
// ResourceRequestBody has a collection of BlobDataHandles attached to it
// using the userdata mechanism. So we have to keep it not to free the blobs.
scoped_refptr<ResourceRequestBody> body_;
- scoped_ptr<storage::BlobDataHandle> request_body_blob_data_handle_;
+ scoped_ptr<storage::BlobDataSnapshotHandle> request_body_blob_data_handle_;
scoped_refptr<ServiceWorkerVersion> streaming_version_;
base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698