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 1c2f5e8082501f1ab61a4ad42595c26268998e6d..557be8a39e14d9b52d2036af2657d79b13c30017 100644 |
--- a/chrome/browser/browsing_data/cache_counter.cc |
+++ b/chrome/browser/browsing_data/cache_counter.cc |
@@ -26,7 +26,9 @@ CacheCounter::~CacheCounter() { |
} |
const char* CacheCounter::GetPrefName() const { |
- return browsing_data::prefs::kDeleteCache; |
+ return GetTab() == browsing_data::ClearBrowsingDataTab::BASIC |
+ ? browsing_data::prefs::kDeleteCacheBasic |
+ : browsing_data::prefs::kDeleteCache; |
} |
void CacheCounter::Count() { |