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

Unified Diff: chrome/browser/browser_main_posix.cc

Issue 7273038: ChromeOs: Call BrowserList::SessionEnding when shutting down via SIGTERM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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 | « no previous file | chrome/browser/ui/browser_list.h » ('j') | chrome/browser/ui/browser_list.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_posix.cc
diff --git a/chrome/browser/browser_main_posix.cc b/chrome/browser/browser_main_posix.cc
index 42dde452b282cc77a80db3bb36727a331be355aa..be383f3e63af166c386c3a47b331762caa441529 100644
--- a/chrome/browser/browser_main_posix.cc
+++ b/chrome/browser/browser_main_posix.cc
@@ -135,8 +135,8 @@ void ShutdownDetector::ThreadMain() {
} while (bytes_read < sizeof(signal));
VLOG(1) << "Handling shutdown for signal " << signal << ".";
#if defined(OS_CHROMEOS)
- // On ChromeOS, exiting on signal should be always clean.
- Task* task = NewRunnableFunction(BrowserList::ExitCleanly);
+ // On ChromeOS, exiting on signal means END_SESSION.
+ Task* task = NewRunnableFunction(BrowserList::SessionEnding);
#else
Task* task = NewRunnableFunction(BrowserList::AttemptExit);
#endif
« no previous file with comments | « no previous file | chrome/browser/ui/browser_list.h » ('j') | chrome/browser/ui/browser_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698