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

Unified Diff: net/disk_cache/memory/mem_backend_impl.cc

Issue 1401923006: Reland of Implement cache counting for the simple and memory backends - with fixed test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment about APP_CACHE. Created 5 years, 2 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
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/simple/simple_backend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/memory/mem_backend_impl.cc
diff --git a/net/disk_cache/memory/mem_backend_impl.cc b/net/disk_cache/memory/mem_backend_impl.cc
index ca8cf1b7d6b23291f3c79743755d0c57456cf451..9948660808a2a22e2996a678eabb80699ec04dd6 100644
--- a/net/disk_cache/memory/mem_backend_impl.cc
+++ b/net/disk_cache/memory/mem_backend_impl.cc
@@ -184,8 +184,7 @@ int MemBackendImpl::DoomEntriesSince(const base::Time initial_time,
int MemBackendImpl::CalculateSizeOfAllEntries(
const CompletionCallback& callback) {
- // TODO(msramek): Implement.
- return net::ERR_NOT_IMPLEMENTED;
+ return current_size_;
}
class MemBackendImpl::MemIterator : public Backend::Iterator {
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/simple/simple_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698