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

Unified Diff: chrome/browser/lifetime/application_lifetime.cc

Issue 2039273003: Cleanup: Remove VersionUpdater::RelaunchBrowser interface method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.h ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/lifetime/application_lifetime.cc
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc
index 8c6adaebb8fdeafad4431f446d61f7cfd0e5d644..653f3dde8829497f6e5285446986ced313688b10 100644
--- a/chrome/browser/lifetime/application_lifetime.cc
+++ b/chrome/browser/lifetime/application_lifetime.cc
@@ -212,6 +212,14 @@ void AttemptRestart() {
}
#endif
+void AttemptRelaunch() {
+#if defined(OS_CHROMEOS)
Lei Zhang 2016/06/09 00:50:40 UpdateRecommendedMessageBox::Accept() is another p
dpapad 2016/06/09 01:14:27 Done, changed this to use UpdateRecommendedMessage
+ chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart();
+#else
+ chrome::AttemptRestart();
+#endif
+}
+
void AttemptExit() {
#if defined(OS_CHROMEOS)
// On ChromeOS, user exit and system exits are the same.
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.h ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698