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

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: added destructor 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
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 df913fbf5484031bbf9563545cc1d2177cf9c3ef..2706c351a39760515c329ddebe8726a17a7cf923 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());
}

Powered by Google App Engine
This is Rietveld 408576698