diff options
author | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 21:11:51 +0000 |
---|---|---|
committer | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 21:11:51 +0000 |
commit | 6c51210f0bfe096c641571e362a0efe1aa194481 (patch) | |
tree | 9e2f192be41f66eb4df134c68cfac12de1c8057b /chrome/browser/ui/browser_list.cc | |
parent | 5ce5e887daa1ac7cf5a027082ff2c16e3eeb402f (diff) | |
download | chromium_src-6c51210f0bfe096c641571e362a0efe1aa194481.zip chromium_src-6c51210f0bfe096c641571e362a0efe1aa194481.tar.gz chromium_src-6c51210f0bfe096c641571e362a0efe1aa194481.tar.bz2 |
signout_ is a ChromeOS-specific variable.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6487015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_list.cc')
-rw-r--r-- | chrome/browser/ui/browser_list.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc index 6a7ab9d..0ff8d64 100644 --- a/chrome/browser/ui/browser_list.cc +++ b/chrome/browser/ui/browser_list.cc @@ -202,13 +202,16 @@ void BrowserList::NotifyWindowManagerAboutSignout() { notified = true; } } + +// static +bool BrowserList::signout_ = false; + #endif // static void BrowserList::NotifyAndTerminate(bool fast_path) { - if (!signout_) return; - #if defined(OS_CHROMEOS) + if (!signout_) return; NotifyWindowManagerAboutSignout(); #endif @@ -372,12 +375,9 @@ void BrowserList::CloseAllBrowsers() { } // static -bool BrowserList::signout_ = false; - -// static void BrowserList::Exit() { - signout_ = true; #if defined(OS_CHROMEOS) + signout_ = true; // Fast shutdown for ChromeOS when there's no unload processing to be done. if (chromeos::CrosLibrary::Get()->EnsureLoaded() && !NeedBeforeUnloadFired() |