Index: chrome/browser/browsing_data/cache_counter.cc |
diff --git a/chrome/browser/browsing_data/cache_counter.cc b/chrome/browser/browsing_data/cache_counter.cc |
index 1a9022da083f925bcdab988dfe6d4a711740e812..5a5890c84e1a63762c628f60274c7900425b7777 100644 |
--- a/chrome/browser/browsing_data/cache_counter.cc |
+++ b/chrome/browser/browsing_data/cache_counter.cc |
@@ -9,14 +9,17 @@ |
#include "net/base/net_errors.h" |
CacheCounter::CacheCounter(Profile* profile) |
- : BrowsingDataCounter(browsing_data::prefs::kDeleteCache), |
- profile_(profile), |
+ : profile_(profile), |
pending_(false), |
weak_ptr_factory_(this) {} |
CacheCounter::~CacheCounter() { |
} |
+const char* CacheCounter::GetPrefName() const { |
+ return browsing_data::prefs::kDeleteCache; |
+} |
+ |
void CacheCounter::Count() { |
// TODO(msramek): StoragePartitionHttpCacheDataRemover currently does not |
// implement counting for subsets of cache, only for the entire cache. Thus, |