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..0e6012b642906b4a844b161537fad2c12727b0c9 100644 |
--- a/chrome/browser/browsing_data/cache_counter.cc |
+++ b/chrome/browser/browsing_data/cache_counter.cc |
@@ -9,7 +9,7 @@ |
#include "net/base/net_errors.h" |
CacheCounter::CacheCounter(Profile* profile) |
- : BrowsingDataCounter(browsing_data::prefs::kDeleteCache), |
+ : pref_name_(browsing_data::prefs::kDeleteCache), |
profile_(profile), |
pending_(false), |
weak_ptr_factory_(this) {} |
@@ -17,6 +17,10 @@ CacheCounter::CacheCounter(Profile* profile) |
CacheCounter::~CacheCounter() { |
} |
+const std::string& CacheCounter::GetPrefName() const { |
+ return pref_name_; |
+} |
+ |
void CacheCounter::Count() { |
// TODO(msramek): StoragePartitionHttpCacheDataRemover currently does not |
// implement counting for subsets of cache, only for the entire cache. Thus, |