Index: chrome/browser/ui/webui/options/reset_profile_settings_handler.h |
diff --git a/chrome/browser/ui/webui/options/reset_profile_settings_handler.h b/chrome/browser/ui/webui/options/reset_profile_settings_handler.h |
index c6f51ef845b441390b998736383199e58a2b8cdd..c09e092a6eacec9f64105a131948595b55fc99a8 100644 |
--- a/chrome/browser/ui/webui/options/reset_profile_settings_handler.h |
+++ b/chrome/browser/ui/webui/options/reset_profile_settings_handler.h |
@@ -14,6 +14,7 @@ class DictionaryValue; |
class ListValue; |
} // namespace base |
+class AutomaticProfileResetter; |
class BrandcodeConfigFetcher; |
class ProfileResetter; |
class ResettableSettingsSnapshot; |
@@ -33,6 +34,7 @@ class ResetProfileSettingsHandler |
base::DictionaryValue* localized_strings) OVERRIDE; |
virtual void InitializeHandler() OVERRIDE; |
virtual void InitializePage() OVERRIDE; |
+ virtual void Uninitialize() OVERRIDE; |
// WebUIMessageHandler implementation. |
virtual void RegisterMessages() OVERRIDE; |
@@ -54,6 +56,13 @@ class ResetProfileSettingsHandler |
// gave his consent to upload broken settings to Google for analysis. |
void ResetProfile(bool send_settings); |
+ // Destroyed with the Profile, thus it should outlive us. |
+ AutomaticProfileResetter* automatic_profile_resetter_; |
+ |
+ // Records whether or not the Profile Reset confirmation dialog was opened at |
+ // least once during the lifetime of the settings page. |
+ bool has_shown_confirmation_dialog_; |
+ |
scoped_ptr<ProfileResetter> resetter_; |
scoped_ptr<BrandcodeConfigFetcher> config_fetcher_; |