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

Unified Diff: chrome/browser/ui/webui/settings/about_handler.cc

Issue 2063873004: MD Settings: Hook up about_page to new LifetimeBrowserProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Closure compilation. 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/about_handler.cc
diff --git a/chrome/browser/ui/webui/settings/about_handler.cc b/chrome/browser/ui/webui/settings/about_handler.cc
index 527ff0f576ba4c1e741cfe0b410b340095ae5a51..6f9ca5d311b2dc159c0e4adf080addf9ec071f2b 100644
--- a/chrome/browser/ui/webui/settings/about_handler.cc
+++ b/chrome/browser/ui/webui/settings/about_handler.cc
@@ -26,7 +26,6 @@
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_notification_types.h"
-#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/obsolete_system/obsolete_system.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
@@ -329,9 +328,6 @@ void AboutHandler::RegisterMessages() {
base::Bind(&AboutHandler::HandleRefreshUpdateStatus,
base::Unretained(this)));
web_ui()->RegisterMessageCallback(
- "relaunchNow",
- base::Bind(&AboutHandler::HandleRelaunchNow, base::Unretained(this)));
- web_ui()->RegisterMessageCallback(
"openFeedbackDialog", base::Bind(&AboutHandler::HandleOpenFeedbackDialog,
base::Unretained(this)));
web_ui()->RegisterMessageCallback(
@@ -458,11 +454,6 @@ void AboutHandler::PromoteUpdater(const base::ListValue* args) {
}
#endif
-void AboutHandler::HandleRelaunchNow(const base::ListValue* args) {
- DCHECK(args->empty());
- chrome::AttemptRelaunch();
-}
-
void AboutHandler::HandleOpenFeedbackDialog(const base::ListValue* args) {
DCHECK(args->empty());
Browser* browser =
« no previous file with comments | « chrome/browser/ui/webui/settings/about_handler.h ('k') | chrome/test/data/webui/settings/about_page_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698