diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 03:48:01 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 03:48:01 +0000 |
commit | 276ae6d3b89a1b521f54277669e73ed8e548fdb1 (patch) | |
tree | 2e81baca1aed143c3781409e2cd00aaab6608625 /chrome/browser/browser_list.h | |
parent | 4c561633e8eab426db0f94f3f03543e94c57ff77 (diff) | |
download | chromium_src-276ae6d3b89a1b521f54277669e73ed8e548fdb1.zip chromium_src-276ae6d3b89a1b521f54277669e73ed8e548fdb1.tar.gz chromium_src-276ae6d3b89a1b521f54277669e73ed8e548fdb1.tar.bz2 |
Revert change 5596 because it broke the build
Review URL: http://codereview.chromium.org/11439
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.h')
-rw-r--r-- | chrome/browser/browser_list.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h index ef9a16f..f385777 100644 --- a/chrome/browser/browser_list.h +++ b/chrome/browser/browser_list.h @@ -62,7 +62,7 @@ class BrowserList { // Find an existing browser window with the provided type. If the last active // has the right type, it is returned. Otherwise, the next available browser // is returned. Returns NULL if no such browser currently exists. - static Browser* FindBrowserWithType(Profile* p, Browser::Type t); + static Browser* FindBrowserWithType(Profile* p, BrowserType::Type t); // Closes all browsers. If use_post is true the windows are closed by way of // posting a WM_CLOSE message, otherwise the windows are closed directly. In @@ -70,9 +70,6 @@ class BrowserList { // the session. use_post should only be false when invoked from end session. static void CloseAllBrowsers(bool use_post); - // Begins shutdown of the application when the Windows session is ending. - static void WindowsSessionEnding(); - // Returns true if there is at least one Browser with the specified profile. static bool HasBrowserWithProfile(Profile* profile); @@ -135,7 +132,7 @@ class BrowserList { // Return the number of browsers with the following profile and type which are // currently open. - static size_t GetBrowserCountForType(Profile* p, Browser::Type type); + static size_t GetBrowserCountForType(Profile* p, BrowserType::Type type); // Returns true if at least one off the record session is active. static bool IsOffTheRecordSessionActive(); |