| Index: components/browsing_data/core/counters/history_counter.cc
|
| diff --git a/components/browsing_data/core/counters/history_counter.cc b/components/browsing_data/core/counters/history_counter.cc
|
| index c1c44512ba0dcf2b820ef9a1f1220f58346c123c..9f456853558de4c8b3ada0026a7cd4f38e3c8f2e 100644
|
| --- a/components/browsing_data/core/counters/history_counter.cc
|
| +++ b/components/browsing_data/core/counters/history_counter.cc
|
| @@ -46,7 +46,9 @@ bool HistoryCounter::HasTrackedTasks() {
|
| }
|
|
|
| const char* HistoryCounter::GetPrefName() const {
|
| - return browsing_data::prefs::kDeleteBrowsingHistory;
|
| + return GetPrefType() == ClearBrowsingDataPreferenceType::BASIC
|
| + ? browsing_data::prefs::kDeleteBrowsingHistoryBasic
|
| + : browsing_data::prefs::kDeleteBrowsingHistory;
|
| }
|
|
|
| void HistoryCounter::Count() {
|
|
|