| Index: components/browsing_data/core/counters/browsing_data_counter.cc
|
| diff --git a/components/browsing_data/core/counters/browsing_data_counter.cc b/components/browsing_data/core/counters/browsing_data_counter.cc
|
| index 1af879c6576b400ca07fc1d66862630e5258ec0e..ec67193687bca28fc26a48e1a64ae508680f2fe6 100644
|
| --- a/components/browsing_data/core/counters/browsing_data_counter.cc
|
| +++ b/components/browsing_data/core/counters/browsing_data_counter.cc
|
| @@ -40,13 +40,7 @@ base::Time BrowsingDataCounter::GetPeriodStart() {
|
|
|
| void BrowsingDataCounter::Restart() {
|
| DCHECK(initialized_);
|
| -
|
| - // If this data type was unchecked for deletion, we do not need to count it.
|
| - if (!pref_service_->GetBoolean(GetPrefName()))
|
| - return;
|
| -
|
| callback_.Run(base::MakeUnique<Result>(this));
|
| -
|
| Count();
|
| }
|
|
|
|
|