| 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 16354972102eb65d5fc6b7fc7b7076c33a50002e..9e855e60893fabe4fc7ad0029c5ee751ba9ef04a 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_counter_utils.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_counter_utils.cc
|
| @@ -261,21 +261,3 @@ bool GetDeletionPreferenceFromDataType(
|
| NOTREACHED();
|
| return false;
|
| }
|
| -
|
| -browsing_data::BrowsingDataCounter* CreateCounterForPreference(
|
| - std::string pref_name,
|
| - Profile* profile) {
|
| - if (!AreCountersEnabled())
|
| - return nullptr;
|
| -
|
| - if (pref_name == prefs::kDeleteBrowsingHistory)
|
| - return new HistoryCounter(profile);
|
| - if (pref_name == prefs::kDeleteCache)
|
| - return new CacheCounter(profile);
|
| - if (pref_name == prefs::kDeletePasswords)
|
| - return new PasswordsCounter(profile);
|
| - if (pref_name == prefs::kDeleteFormData)
|
| - return new AutofillCounter(profile);
|
| -
|
| - return nullptr;
|
| -}
|
|
|