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

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

Issue 1057533003: Stop calling EndSession() in chrome::ExitCleanly() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | 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 be081a07ca6f21b25668f47d9838fa9957b94be3..c88d6559bc4ec5c8ad299c9fae3e5e91dee103e9 100644
--- a/chrome/browser/lifetime/application_lifetime.cc
+++ b/chrome/browser/lifetime/application_lifetime.cc
@@ -239,9 +239,8 @@ void AttemptExit() {
#if defined(OS_CHROMEOS)
// A function called when SIGTERM is received.
void ExitCleanly() {
- // We always mark exit cleanly because SessionManager may kill
- // chrome in 3 seconds after SIGTERM.
- g_browser_process->EndSession();
+ // We always mark exit cleanly.
+ MarkAsCleanShutdown();
// Don't block when SIGTERM is received. AreaAllBrowsersCloseable()
// can be false in following cases. a) power-off b) signout from
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698