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..aac58a57a1f8b9141f98ec349c82b6e43a659452 100644 |
--- a/storage/browser/blob/blob_data_builder.h |
+++ b/storage/browser/blob/blob_data_builder.h |
@@ -12,6 +12,7 @@ |
#include "base/basictypes.h" |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
+#include "net/disk_cache/disk_cache.h" |
#include "storage/browser/blob/blob_data_item.h" |
#include "storage/browser/blob/blob_data_snapshot.h" |
#include "storage/browser/storage_browser_export.h" |
@@ -21,6 +22,8 @@ class BlobStorageContext; |
class STORAGE_EXPORT BlobDataBuilder { |
public: |
+ class ExtraData : public BlobDataItem::ExtraData {}; |
+ |
explicit BlobDataBuilder(const std::string& uuid); |
~BlobDataBuilder(); |
@@ -49,6 +52,10 @@ class STORAGE_EXPORT BlobDataBuilder { |
uint64_t length, |
const base::Time& expected_modification_time); |
+ void AppendDiskCacheEntry(disk_cache::ScopedEntryPtr entry, |
+ int index, |
+ scoped_ptr<ExtraData> extra_data); |
+ |
void set_content_type(const std::string& content_type) { |
content_type_ = content_type; |
} |