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 1adb0ecc48a3f4e177fc392eb0b1726a5e1d9d1c..7758d91362ab14882989e9ee19e05628fe108d53 100644 |
--- a/net/disk_cache/simple/simple_index.h |
+++ b/net/disk_cache/simple/simple_index.h |
@@ -166,6 +166,9 @@ class NET_EXPORT_PRIVATE SimpleIndex |
IndexInitMethod init_method() const { return init_method_; } |
+ // Returns the estimate of dynamically allocated memory in bytes. |
+ size_t EstimateMemoryUsage() const; |
+ |
private: |
friend class SimpleIndexTest; |
FRIEND_TEST_ALL_PREFIXES(SimpleIndexTest, IndexSizeCorrectOnMerge); |