Chromium Code Reviews| 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. |