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

Unified Diff: chrome/browser/browsing_data/browsing_data_counter_utils.cc

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: rebase and fix compilation Created 3 years, 10 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: chrome/browser/browsing_data/browsing_data_counter_utils.cc
diff --git a/chrome/browser/browsing_data/browsing_data_counter_utils.cc b/chrome/browser/browsing_data/browsing_data_counter_utils.cc
index c28cceaf1e829e9086bc8a0faf6fdc48feb31ff7..568b30ef3bcfe58798ae275ce02b945d69d4b7a3 100644
--- a/chrome/browser/browsing_data/browsing_data_counter_utils.cc
+++ b/chrome/browser/browsing_data/browsing_data_counter_utils.cc
@@ -61,7 +61,8 @@ base::string16 GetChromeCounterTextFromResult(
return l10n_util::GetStringUTF16(IDS_CLEAR_BROWSING_DATA_CALCULATING);
}
- if (pref_name == browsing_data::prefs::kDeleteCache) {
+ if (pref_name == browsing_data::prefs::kDeleteCache ||
+ pref_name == browsing_data::prefs::kDeleteCacheBasic) {
// Cache counter.
const auto* cache_result =
static_cast<const CacheCounter::CacheResult*>(result);

Powered by Google App Engine
This is Rietveld 408576698