Index: chrome/browser/browsing_data/browsing_data_counter_factory.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_counter_factory.cc b/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
index accd07d20c2800eab984110be96fb2b5a18eaaec..361e995fb38e26c19d9b9db794216c5516844953 100644 |
--- a/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
+++ b/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
@@ -47,8 +47,7 @@ BrowsingDataCounterFactory::GetForProfileAndPref(Profile* profile, |
if (!AreCountersEnabled()) |
return nullptr; |
- if (pref_name == browsing_data::prefs::kDeleteBrowsingHistory || |
- pref_name == browsing_data::prefs::kDeleteBrowsingHistoryBasic) { |
msramek
2017/03/22 14:40:21
If there's no counter on the basic tab, we should
dullweber
2017/03/23 10:22:34
There is already the "return nullptr" at the end o
msramek
2017/03/28 13:43:43
For the record, I am fine with kDeleteBrowsingHist
|
+ if (pref_name == browsing_data::prefs::kDeleteBrowsingHistory) { |
return base::MakeUnique<browsing_data::HistoryCounter>( |
HistoryServiceFactory::GetForProfile( |
profile, ServiceAccessType::EXPLICIT_ACCESS), |