Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7318)

Unified Diff: chrome/browser/ui/webui/settings/reset_settings_handler.h

Issue 2052003002: MD Settings: Hook up reset_page to new LifetimeBrowserProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/settings/reset_settings_handler.h
diff --git a/chrome/browser/ui/webui/settings/reset_settings_handler.h b/chrome/browser/ui/webui/settings/reset_settings_handler.h
index d2bb1e31f7b83df235440230528a5de56534c34c..b8e6cd7bae1d0395b92f5afcbcbf4b2cd3ec1a11 100644
--- a/chrome/browser/ui/webui/settings/reset_settings_handler.h
+++ b/chrome/browser/ui/webui/settings/reset_settings_handler.h
@@ -46,7 +46,7 @@ class ResetSettingsHandler : public SettingsPageUIHandler {
void OnJavascriptDisallowed() override {}
protected:
- ResetSettingsHandler(Profile* profile, bool allow_powerwash);
+ explicit ResetSettingsHandler(Profile* profile);
// Overriden in tests to substitute with a test version of ProfileResetter.
virtual ProfileResetter* GetResetter();
@@ -84,13 +84,6 @@ class ResetSettingsHandler : public SettingsPageUIHandler {
#if defined(OS_CHROMEOS)
// Will be called when powerwash dialog is shown.
void OnShowPowerwashDialog(const base::ListValue* args);
-
- // Sets a pref indicating that a factory reset is requested and then requests
- // a restart.
- void HandleFactoryResetRestart(const base::ListValue* args);
-
- // Whether factory reset can be performed.
- bool allow_powerwash_ = false;
#endif // defined(OS_CHROMEOS)
Profile* const profile_;

Powered by Google App Engine
This is Rietveld 408576698