| Index: chrome/browser/ui/webui/settings/system_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/system_handler.cc b/chrome/browser/ui/webui/settings/system_handler.cc
|
| index bb264b49aacf781563e88c8ce600fbad767b9fcc..cc2960a8a2055304e9cf46767bf23de4343c5211 100644
|
| --- a/chrome/browser/ui/webui/settings/system_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/system_handler.cc
|
| @@ -10,7 +10,6 @@
|
| #include "base/metrics/user_metrics_action.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/gpu/gpu_mode_manager.h"
|
| -#include "chrome/browser/lifetime/application_lifetime.h"
|
| #include "chrome/browser/ui/webui/settings_utils.h"
|
| #include "content/public/browser/web_ui.h"
|
| #include "content/public/browser/web_ui_data_source.h"
|
| @@ -31,9 +30,6 @@ void SystemHandler::RegisterMessages() {
|
| web_ui()->RegisterMessageCallback("changeProxySettings",
|
| base::Bind(&SystemHandler::HandleChangeProxySettings,
|
| base::Unretained(this)));
|
| - web_ui()->RegisterMessageCallback("restartBrowser",
|
| - base::Bind(&SystemHandler::HandleRestartBrowser,
|
| - base::Unretained(this)));
|
| }
|
|
|
| void SystemHandler::HandleChangeProxySettings(const base::ListValue* /*args*/) {
|
| @@ -41,8 +37,4 @@ void SystemHandler::HandleChangeProxySettings(const base::ListValue* /*args*/) {
|
| settings_utils::ShowNetworkProxySettings(web_ui()->GetWebContents());
|
| }
|
|
|
| -void SystemHandler::HandleRestartBrowser(const base::ListValue* /*args*/) {
|
| - chrome::AttemptRestart();
|
| -}
|
| -
|
| } // namespace settings
|
|
|