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

Unified Diff: content/browser/cache_storage/cache_storage_cache_unittest.cc

Issue 1304363013: Add a size estimation mechanism to StoragePartitionHttpCacheDataRemover. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static_cast 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
Index: content/browser/cache_storage/cache_storage_cache_unittest.cc
diff --git a/content/browser/cache_storage/cache_storage_cache_unittest.cc b/content/browser/cache_storage/cache_storage_cache_unittest.cc
index 88363a7c4d910dc55512b8ad02fd2a51723b6de4..62e799521481f5e576c14f3b4d4a62a0dd828204 100644
--- a/content/browser/cache_storage/cache_storage_cache_unittest.cc
+++ b/content/browser/cache_storage/cache_storage_cache_unittest.cc
@@ -91,6 +91,10 @@ class DelayableBackend : public disk_cache::Backend {
const CompletionCallback& callback) override {
return backend_->DoomEntriesSince(initial_time, callback);
}
+ int CalculateSizeOfAllEntries(
+ const CompletionCallback& callback) override {
+ return backend_->CalculateSizeOfAllEntries(callback);
+ }
scoped_ptr<Iterator> CreateIterator() override {
return backend_->CreateIterator();
}
« no previous file with comments | « components/browsing_data/storage_partition_http_cache_data_remover.cc ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698