Index: net/disk_cache/disk_cache.h |
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h |
index f71bc81964b929f4dce5596d724c41bf36429279..6fd6e6244751e2bacc80d67ebd173b511b904396 100644 |
--- a/net/disk_cache/disk_cache.h |
+++ b/net/disk_cache/disk_cache.h |
@@ -190,6 +190,9 @@ class NET_EXPORT Entry { |
// Returns the size of the cache data with the given index. |
virtual int32_t GetDataSize(int index) const = 0; |
+ // Return size of all data streams including key and other metadata. |
+ virtual int64_t GetEntrySize() const = 0; |
+ |
// Copies cached data into the given buffer of length |buf_len|. Returns the |
// number of bytes read or a network error code. If this function returns |
// ERR_IO_PENDING, the completion callback will be called on the current |