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

Unified Diff: chrome/browser/ui/views/update_recommended_message_box.cc

Issue 2039273003: Cleanup: Remove VersionUpdater::RelaunchBrowser interface method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing 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
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.cc ('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/ui/views/update_recommended_message_box.cc
diff --git a/chrome/browser/ui/views/update_recommended_message_box.cc b/chrome/browser/ui/views/update_recommended_message_box.cc
index c5cf3f75975966e4fcb6d423b9676bf90aaa208b..551acb06caae0eb3ac837e0e0987978c476fec21 100644
--- a/chrome/browser/ui/views/update_recommended_message_box.cc
+++ b/chrome/browser/ui/views/update_recommended_message_box.cc
@@ -50,11 +50,7 @@ UpdateRecommendedMessageBox::~UpdateRecommendedMessageBox() {
}
bool UpdateRecommendedMessageBox::Accept() {
-#if defined(OS_CHROMEOS)
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart();
- // If running the Chrome OS build, but we're not on the device, fall through
-#endif
- chrome::AttemptRestart();
+ chrome::AttemptRelaunch();
return true;
}
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698