Index: net/disk_cache/simple/simple_entry_impl.h |
diff --git a/net/disk_cache/simple/simple_entry_impl.h b/net/disk_cache/simple/simple_entry_impl.h |
index 7df3f4f0eb33d6ddec087a07cb0c86096a5cb1e8..1484fadcefb4af482c12e27ed14fcc828c6e5141 100644 |
--- a/net/disk_cache/simple/simple_entry_impl.h |
+++ b/net/disk_cache/simple/simple_entry_impl.h |
@@ -122,6 +122,9 @@ class NET_EXPORT_PRIVATE SimpleEntryImpl : public Entry, |
void CancelSparseIO() override; |
int ReadyForSparseIO(const CompletionCallback& callback) override; |
+ // Returns the estimate of dynamically allocated memory in bytes. |
+ size_t EstimateMemoryUsage() const; |
+ |
private: |
class ScopedOperationRunner; |
friend class ScopedOperationRunner; |