Index: chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc |
index ea54ef47a0d0c70bac6dcc2865b8cc0e7932cc5b..dd8d078d7892d8d5eb4838d738fec4e5e7f584a2 100644 |
--- a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc |
+++ b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc |
@@ -317,6 +317,7 @@ void ClearBrowsingDataHandler::UpdateHistoryDeletionDialog(bool show) { |
void ClearBrowsingDataHandler::AddCounter( |
std::unique_ptr<browsing_data::BrowsingDataCounter> counter) { |
counter->Init(profile_->GetPrefs(), |
+ browsing_data::ClearBrowsingDataTab::ADVANCED, |
base::Bind(&ClearBrowsingDataHandler::UpdateCounterText, |
base::Unretained(this))); |
counters_.push_back(std::move(counter)); |
@@ -325,8 +326,7 @@ void ClearBrowsingDataHandler::AddCounter( |
void ClearBrowsingDataHandler::UpdateCounterText( |
std::unique_ptr<browsing_data::BrowsingDataCounter::Result> result) { |
CallJavascriptFunction( |
- "cr.webUIListenerCallback", |
- base::StringValue("update-counter-text"), |
+ "cr.webUIListenerCallback", base::StringValue("update-counter-text"), |
base::StringValue(result->source()->GetPrefName()), |
base::StringValue(GetChromeCounterTextFromResult(result.get()))); |
} |