Index: storage/browser/blob/blob_data_builder.h |
diff --git a/storage/browser/blob/blob_data_builder.h b/storage/browser/blob/blob_data_builder.h |
index 8119538c07e10ffe2903eea690c4720f1ad269e5..115d1f4391a8ad1b9ab44bb29f553345c2cfa04a 100644 |
--- a/storage/browser/blob/blob_data_builder.h |
+++ b/storage/browser/blob/blob_data_builder.h |
@@ -16,11 +16,17 @@ |
#include "storage/browser/blob/blob_data_snapshot.h" |
#include "storage/browser/storage_browser_export.h" |
+namespace disk_cache { |
+class Entry; |
+} |
+ |
namespace storage { |
class BlobStorageContext; |
class STORAGE_EXPORT BlobDataBuilder { |
public: |
+ using DataHandle = BlobDataItem::DataHandle; |
+ |
explicit BlobDataBuilder(const std::string& uuid); |
~BlobDataBuilder(); |
@@ -49,6 +55,10 @@ class STORAGE_EXPORT BlobDataBuilder { |
uint64_t length, |
const base::Time& expected_modification_time); |
+ void AppendDiskCacheEntry(const scoped_refptr<DataHandle>& data_handle, |
+ disk_cache::Entry* disk_cache_entry, |
+ int disk_cache_stream_index); |
+ |
void set_content_type(const std::string& content_type) { |
content_type_ = content_type; |
} |