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..2a1f3e25206c38545b7c0c0ecd7d74ca815cdb89 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, the 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 |