Chromium Code Reviews| Index: storage/browser/blob/blob_data_item.h |
| diff --git a/storage/browser/blob/blob_data_item.h b/storage/browser/blob/blob_data_item.h |
| index a711a4caf3b3fe4bc969be9e63c87bb33aa79834..9e98b66be2422e7e611b0d27656d83448280d7bd 100644 |
| --- a/storage/browser/blob/blob_data_item.h |
| +++ b/storage/browser/blob/blob_data_item.h |
| @@ -21,6 +21,7 @@ class Entry; |
| namespace storage { |
| class BlobDataBuilder; |
| +class BlobMemoryController; |
| class BlobStorageContext; |
| // Ref counted blob item. This class owns the backing data of the blob item. The |
| @@ -63,8 +64,11 @@ class STORAGE_EXPORT BlobDataItem : public base::RefCounted<BlobDataItem> { |
| return disk_cache_side_stream_index_; |
| } |
| + const scoped_refptr<DataHandle>& data_handle() const { return data_handle_; } |
|
michaeln
2016/10/18 00:56:24
i don't see where this is used?
dmurph
2016/10/18 20:24:44
Done.
|
| + |
| private: |
| friend class BlobDataBuilder; |
| + friend class BlobMemoryController; |
| friend class BlobStorageContext; |
| friend class base::RefCounted<BlobDataItem>; |
| friend STORAGE_EXPORT void PrintTo(const BlobDataItem& x, ::std::ostream* os); |
| @@ -77,6 +81,7 @@ class STORAGE_EXPORT BlobDataItem : public base::RefCounted<BlobDataItem> { |
| disk_cache::Entry* entry, |
| int disk_cache_stream_index, |
| int disk_cache_side_stream_index); |
| + |
| virtual ~BlobDataItem(); |
| std::unique_ptr<DataElement> item_; |