| 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..ea6ec9eaf9e193614b51d0892d418efa7ebdd2a6 100644
|
| --- a/storage/browser/blob/blob_data_builder.cc
|
| +++ b/storage/browser/blob/blob_data_builder.cc
|
| @@ -60,4 +60,13 @@ void BlobDataBuilder::AppendFileSystemFile(
|
| items_.push_back(new BlobDataItem(element.Pass()));
|
| }
|
|
|
| +void BlobDataBuilder::AppendDiskCacheEntry(
|
| + int index,
|
| + const scoped_refptr<DataHandle>& data_handle) {
|
| + scoped_ptr<DataElement> element(new DataElement());
|
| + element->SetToDiskCacheEntryRange(
|
| + 0U, data_handle->disk_cache_entry()->GetDataSize(index));
|
| + items_.push_back(new BlobDataItem(element.Pass(), data_handle, index));
|
| +}
|
| +
|
| } // namespace storage
|
|
|