Index: chrome/browser/lifetime/application_lifetime.h |
=================================================================== |
--- chrome/browser/lifetime/application_lifetime.h (revision 194196) |
+++ chrome/browser/lifetime/application_lifetime.h (working copy) |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ |
#define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ |
+class Browser; |
+ |
namespace chrome { |
// Starts a user initiated exit process. Called from Browser::Exit. |
@@ -83,6 +85,10 @@ |
// processing required. |
void HandleAppExitingForPlatform(); |
+// Returns true if we can start the shutdown sequence for the browser, i.e. the |
+// last browser window is being closed. |
+bool ShouldStartShutdown(Browser* browser); |
+ |
} // namespace chrome |
#endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ |