Index: chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
diff --git a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
index 13ce28f59e2458c948821ac23f50ea3c3d3de458..42f81464e1bfe21e77f006ace709f3199b46655a 100644 |
--- a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
+++ b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
@@ -12,6 +12,7 @@ |
#include "base/macros.h" |
#include "base/scoped_observer.h" |
#include "chrome/browser/browsing_data/browsing_data_remover.h" |
+#include "chrome/browser/engagement/important_sites_util.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
#include "components/browser_sync/profile_sync_service.h" |
@@ -54,6 +55,10 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler, |
// Fetches important sites, called by Javascript. |
void HandleFetchImportantSites(const base::ListValue* value); |
+ void OnFetchImportantSitesFinished( |
+ const std::string& callback_id, |
+ std::vector<ImportantSitesUtil::ImportantDomainInfo> sites); |
+ |
// Initializes the dialog UI. Called by JavaScript when the DOM is ready. |
void HandleInitialize(const base::ListValue* args); |