| 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 3a2d7657477e9b1408cc6d89401c760bdf68f37a..e8a54afc47bc65a5ebc12b0449bd6639c56a9632 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
|
| @@ -66,6 +66,11 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler,
|
| // hides the footer about other forms of history stored in user's account.
|
| void UpdateHistoryNotice(bool show);
|
|
|
| + // Called as an asynchronous response to |RefreshHistoryNotice()|. Enables or
|
| + // disables the dialog about other forms of history stored in user's account
|
| + // that is shown when the history deletion is finished.
|
| + void UpdateHistoryDeletionDialog(bool show);
|
| +
|
| // Adds a browsing data |counter|.
|
| void AddCounter(std::unique_ptr<BrowsingDataCounter> counter);
|
|
|
| @@ -98,6 +103,10 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler,
|
| // so we cache it here.
|
| bool should_show_history_footer_;
|
|
|
| + // Whether we should show a dialog informing the user about other forms of
|
| + // history stored in their account after the history deletion is finished.
|
| + bool should_show_history_deletion_dialog_;
|
| +
|
| // A weak pointer factory for asynchronous calls referencing this class.
|
| base::WeakPtrFactory<ClearBrowsingDataHandler> weak_ptr_factory_;
|
|
|
|
|