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

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

Issue 2730703003: Change CBD layout and texts (Closed)
Patch Set: try fix tests Created 3 years, 9 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_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) {
+ if (pref_name == browsing_data::prefs::kDeleteBrowsingHistory) {
return base::MakeUnique<browsing_data::HistoryCounter>(
HistoryServiceFactory::GetForProfile(
profile, ServiceAccessType::EXPLICIT_ACCESS),

Powered by Google App Engine
This is Rietveld 408576698