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

Unified Diff: net/http/mock_http_cache.cc

Issue 2661333002: Track SimpleCache memory usage in net/ MemoryDumpProvider (Closed)
Patch Set: Address comments Created 3 years, 10 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 ed095bc07098aee6fdebfb2779aa6c7bdfd7ef39..902095aa13f73a2488cb11cb750b5292f8b64977 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -515,6 +515,10 @@ void MockDiskCache::GetStats(base::StringPairs* stats) {
void MockDiskCache::OnExternalCacheHit(const std::string& key) {
}
+size_t MockDiskCache::EstimateMemoryUsage() const {
+ return 0;
+}
+
void MockDiskCache::ReleaseAll() {
EntryMap::iterator it = entries_.begin();
for (; it != entries_.end(); ++it)

Powered by Google App Engine
This is Rietveld 408576698