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

Unified Diff: net/disk_cache/disk_cache_test_base.cc

Issue 13731002: Cache Backend Proxy to intercept all cache events from the IO thread. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: trivial net.gyp merge Created 7 years, 8 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/cache_creator.cc ('k') | net/disk_cache/simple/simple_disk_format.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/disk_cache_test_base.cc
diff --git a/net/disk_cache/disk_cache_test_base.cc b/net/disk_cache/disk_cache_test_base.cc
index 10fbd50c4816bf7e340b6efa8e07c23d83e94014..71666bf11dad764ee80718c0b8591eb996d91c30 100644
--- a/net/disk_cache/disk_cache_test_base.cc
+++ b/net/disk_cache/disk_cache_test_base.cc
@@ -74,7 +74,8 @@ void DiskCacheTestWithCache::InitCache() {
InitDiskCache();
ASSERT_TRUE(NULL != cache_);
- if (first_cleanup_)
+ // TODO(pasko): enable Entry Count for the Simple Cache.
+ if (first_cleanup_ && !simple_cache_mode_)
ASSERT_EQ(0, cache_->GetEntryCount());
}
« no previous file with comments | « net/disk_cache/cache_creator.cc ('k') | net/disk_cache/simple/simple_disk_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698