Index: chrome/browser/ui/browser_list.h |
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h |
index 447f6cb907cb255bfbb90baad7af1f46d35c752a..fc45cf320d910b32616b2ad2c35c605cbaaabe07 100644 |
--- a/chrome/browser/ui/browser_list.h |
+++ b/chrome/browser/ui/browser_list.h |
@@ -10,6 +10,7 @@ |
#include <vector> |
#include "base/observer_list.h" |
+#include "chrome/browser/browser_shutdown.h" |
#include "chrome/browser/ui/browser.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -150,8 +151,10 @@ class BrowserList { |
// Closes all browsers for |profile|. |
static void CloseAllBrowsersWithProfile(Profile* profile); |
- // Begins shutdown of the application when the desktop session is ending. |
- static void SessionEnding(); |
+ // Begins force shutdown. |type| can be one of POWER_OFF (when |
+ // user is logging of/OS is powering off), or SHUTDOWN_WITHOUT_CLOSE |
+ // (when X11 is gonoe). |
+ static void ForceShutdown(browser_shutdown::ShutdowType type); |
// Returns true if there is at least one Browser with the specified profile. |
static bool HasBrowserWithProfile(Profile* profile); |