Index: storage/common/data_element.cc |
diff --git a/storage/common/data_element.cc b/storage/common/data_element.cc |
index c6d52f4dac646af95feb85a26ce35aa2c8075db3..f26058b7fb42875343474391d615fc11c2d546bf 100644 |
--- a/storage/common/data_element.cc |
+++ b/storage/common/data_element.cc |
@@ -46,4 +46,10 @@ void DataElement::SetToFileSystemUrlRange( |
expected_modification_time_ = expected_modification_time; |
} |
+void DataElement::SetToDiskCacheEntryRange(uint64 offset, uint64 length) { |
+ type_ = TYPE_DISK_CACHE_ENTRY; |
+ offset_ = offset; |
+ length_ = length; |
+} |
+ |
} // namespace storage |