Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1641)

Unified Diff: net/http/mock_http_cache.cc

Issue 2661333002: Track SimpleCache memory usage in net/ MemoryDumpProvider (Closed)
Patch Set: self Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index 9fc8ced93ce4c502f56f42508b8abc454208cd9b..3b8a987c1de717176ff6d6ed7409636a4a837b8e 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -515,6 +515,11 @@ void MockDiskCache::GetStats(base::StringPairs* stats) {
void MockDiskCache::OnExternalCacheHit(const std::string& key) {
}
+size_t MockDiskCache::EstimateMemoryUsage() const {
+ NOTREACHED();
+ return 0;
+}
+
void MockDiskCache::ReleaseAll() {
EntryMap::iterator it = entries_.begin();
for (; it != entries_.end(); ++it)

Powered by Google App Engine
This is Rietveld 408576698