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

Unified Diff: chrome/browser/browser_shutdown.h

Issue 8271003: Shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: chrome/browser/browser_shutdown.h
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h
index 0df2919ba863a53f697a616deaa8cd68a973a791..a494d5201d8fb287f321547859890cdb85784fca 100644
--- a/chrome/browser/browser_shutdown.h
+++ b/chrome/browser/browser_shutdown.h
@@ -21,8 +21,10 @@ enum ShutdownType {
WINDOW_CLOSE,
// user clicked on the Exit menu item
BROWSER_EXIT,
- // windows is logging off or shutting down
- END_SESSION
+ // OS is logging off or powering off. Close all tabs forcibly.
+ POWER_OFF,
+ // X11 is dead. Shutdown without closing browsers.
+ SHUTDOWN_WITHOUT_CLOSE,
};
void RegisterPrefs(PrefService* local_state);

Powered by Google App Engine
This is Rietveld 408576698