Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1378)

Unified Diff: chrome/browser/browser_list.h

Issue 3175038: Allow overriding of X error functions (Closed)
Patch Set: Messed up #ifdef Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_list.h
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h
index 9e52abad918d438b9808f189cb8f67dbabd06198..dcde7fb0edc807618287af84352cb234ba94cccd 100644
--- a/chrome/browser/browser_list.h
+++ b/chrome/browser/browser_list.h
@@ -96,18 +96,17 @@ class BrowserList {
// 2. An update exe is present in the install folder.
static bool CanRestartForUpdate();
- // 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
- // almost all cases you'll want to use true, the one exception is ending
- // the session. use_post should only be false when invoked from end session.
- static void CloseAllBrowsers(bool use_post);
-
// Closes all browsers and exits. This is equivalent to
// CloseAllBrowsers(true) on platforms where the application exits when no
// more windows are remaining. On other platforms (the Mac), this will
// additionally exit the application.
static void CloseAllBrowsersAndExit();
+ // Closes all browsers. If the session is ending the windows are closed
+ // directly. Otherwise the windows are closed by way of posting a WM_CLOSE
+ // message.
+ static void CloseAllBrowsers();
+
// Begins shutdown of the application when the Windows session is ending.
static void WindowsSessionEnding();
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698