Index: net/disk_cache/simple/simple_index.h |
diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h |
index 11adab9d72f895377d1822cd94ec4ffb4f97c618..a390168d1dee5c348c58e82f429a270cff4f86c8 100644 |
--- a/net/disk_cache/simple/simple_index.h |
+++ b/net/disk_cache/simple/simple_index.h |
@@ -130,6 +130,9 @@ class NET_EXPORT_PRIVATE SimpleIndex |
// Returns number of indexed entries. |
int32 GetEntryCount() const; |
+ // Returns the size of the entire cache in bytes. |
gavinp
2015/10/13 15:50:12
Probably should document that the cache must be in
msramek
2015/10/13 17:25:50
Done.
|
+ uint64 GetCacheSize() const; |
+ |
// Returns whether the index has been initialized yet. |
bool initialized() const { return initialized_; } |