| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index f9a8392127cb2cdbf889d79ed05021e9ed1a1caa..c4ed825e11447af4ad853b1efa428b7fad40bf58 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -66,6 +66,7 @@ class BrowserWindow;
|
| class FindBarController;
|
| class PrefService;
|
| class Profile;
|
| +class ScopedKeepAlive;
|
| class SearchDelegate;
|
| class SearchModel;
|
| class StatusBubble;
|
| @@ -417,6 +418,12 @@ class Browser : public TabStripModelObserver,
|
| // flow.
|
| void ShowModalSyncConfirmationWindow();
|
|
|
| + // Used to register a KeepAlive to affect the Chrome lifetime. The KeepAlive
|
| + // is registered when the browser is added to the browser list, and unregisted
|
| + // when it is removed from it.
|
| + void RegisterKeepAlive();
|
| + void UnregisterKeepAlive();
|
| +
|
| // Interface implementations ////////////////////////////////////////////////
|
|
|
| // Overridden from content::PageNavigator:
|
| @@ -998,6 +1005,8 @@ class Browser : public TabStripModelObserver,
|
|
|
| SigninViewController signin_view_controller_;
|
|
|
| + scoped_ptr<ScopedKeepAlive> keep_alive_;
|
| +
|
| // The following factory is used for chrome update coalescing.
|
| base::WeakPtrFactory<Browser> chrome_updater_factory_;
|
|
|
|
|