Index: net/disk_cache/flash/format.h |
diff --git a/net/disk_cache/flash/format.h b/net/disk_cache/flash/format.h |
index d32344d92fac169993129a387fd0bb5eac67b646..660c614f033fd677b5c9f696356cefa5374be91c 100644 |
--- a/net/disk_cache/flash/format.h |
+++ b/net/disk_cache/flash/format.h |
@@ -22,6 +22,11 @@ const size_t kFlashMaxEntryCount = kFlashSegmentSize / kFlashSmallEntrySize - 1; |
const int32 kFlashSummarySize = (1 + kFlashMaxEntryCount) * sizeof(int32); |
const int32 kFlashSegmentFreeSpace = kFlashSegmentSize - kFlashSummarySize; |
+// An entry consists of a fixed number of streams. |
+const int32 kFlashCacheEntryNumStreams = 4; |
+const int32 kFlashCacheEntryHeaderSize = |
+ kFlashCacheEntryNumStreams * sizeof(int32); |
+ |
} // namespace disk_cache |
#endif // NET_DISK_CACHE_FLASH_FORMAT_H_ |