Index: storage/browser/blob/blob_data_builder.cc |
diff --git a/storage/browser/blob/blob_data_builder.cc b/storage/browser/blob/blob_data_builder.cc |
index 7c305a2f37719f258f6d1e7099e19a28ea0d9951..deaccc36230b7c8eee6cc8b05eb2902cdf12274e 100644 |
--- a/storage/browser/blob/blob_data_builder.cc |
+++ b/storage/browser/blob/blob_data_builder.cc |
@@ -60,4 +60,12 @@ void BlobDataBuilder::AppendFileSystemFile( |
items_.push_back(new BlobDataItem(element.Pass())); |
} |
+void BlobDataBuilder::AppendDiskCacheEntry(disk_cache::ScopedEntryPtr entry, |
+ int index) { |
+ scoped_ptr<DataElement> element(new DataElement()); |
+ element->SetToDiskCacheEntry(); |
+ items_.push_back(new BlobDataItem(element.Pass(), entry.Pass(), index)); |
+} |
+ |
+ |
} // namespace storage |