Index: chrome/browser/app_controller_mac.h |
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h |
index b5febc94677c58a7eef6916bb019dc5f06ccf09d..432e12072480ee51e07b413ccc87f48aabf92f41 100644 |
--- a/chrome/browser/app_controller_mac.h |
+++ b/chrome/browser/app_controller_mac.h |
@@ -29,6 +29,7 @@ class HistoryMenuBridge; |
class Profile; |
@class ProfileMenuController; |
class QuitWithAppsController; |
+class ScopedKeepAlive; |
namespace ui { |
class WorkAreaWatcherObserver; |
@@ -107,6 +108,9 @@ class WorkAreaWatcherObserver; |
// This will be true after receiving a NSWorkspaceWillPowerOffNotification. |
BOOL isPoweringOff_; |
+ |
+ // Request to keep the browser alive during that object's lifetime. |
+ scoped_ptr<ScopedKeepAlive> keep_alive_; |
} |
@property(readonly, nonatomic) BOOL startupComplete; |