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

Unified Diff: net/disk_cache/disk_cache_test_base.h

Issue 1304363013: Add a size estimation mechanism to StoragePartitionHttpCacheDataRemover. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation errors. Created 5 years, 3 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.h
diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h
index ef136f4429ffa75e2ac6ac3e66ba328d0955bef5..c6911a72870d12af0e51feb7856e992934b6e8ec 100644
--- a/net/disk_cache/disk_cache_test_base.h
+++ b/net/disk_cache/disk_cache_test_base.h
@@ -128,6 +128,7 @@ class DiskCacheTestWithCache : public DiskCacheTest {
int DoomAllEntries();
int DoomEntriesBetween(const base::Time initial_time,
const base::Time end_time);
+ int CalculateSizeOfAllEntries();
int DoomEntriesSince(const base::Time initial_time);
scoped_ptr<TestIterator> CreateIterator();
void FlushQueueForTest();

Powered by Google App Engine
This is Rietveld 408576698