| Index: content/browser/blob_storage/blob_dispatcher_host.h
|
| diff --git a/content/browser/blob_storage/blob_dispatcher_host.h b/content/browser/blob_storage/blob_dispatcher_host.h
|
| index b004aa2ab30aed8b7e9c8add3a2820337890c936..f9d1a98881e7556a12bf96bee12bb74c5975db21 100644
|
| --- a/content/browser/blob_storage/blob_dispatcher_host.h
|
| +++ b/content/browser/blob_storage/blob_dispatcher_host.h
|
| @@ -32,6 +32,7 @@ class BlobDataBuilder;
|
| struct BlobItemBytesRequest;
|
| struct BlobItemBytesResponse;
|
| class BlobStorageContext;
|
| +class FileSystemContext;
|
| }
|
|
|
| namespace content {
|
| @@ -45,7 +46,10 @@ class ChromeBlobStorageContext;
|
| // is one per child process.
|
| class CONTENT_EXPORT BlobDispatcherHost : public BrowserMessageFilter {
|
| public:
|
| - explicit BlobDispatcherHost(ChromeBlobStorageContext* blob_storage_context);
|
| + BlobDispatcherHost(
|
| + int process_id,
|
| + scoped_refptr<ChromeBlobStorageContext> blob_storage_context,
|
| + scoped_refptr<storage::FileSystemContext> file_system_context);
|
|
|
| // BrowserMessageFilter implementation.
|
| void OnChannelClosing() override;
|
| @@ -132,6 +136,9 @@ class CONTENT_EXPORT BlobDispatcherHost : public BrowserMessageFilter {
|
| // Unregisters all blobs and urls that were registered in this host.
|
| void ClearHostFromBlobStorageContext();
|
|
|
| + const int process_id_;
|
| + scoped_refptr<storage::FileSystemContext> file_system_context_;
|
| +
|
| // Collection of blob ids and a count of how many usages
|
| // of that id are attributable to this consumer.
|
| BlobReferenceMap blobs_inuse_map_;
|
|
|