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

Side by Side Diff: chrome/browser/browser_shutdown.h

Issue 205963005: Delete "shutdown without closing browsers" path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gtk build fix Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BROWSER_SHUTDOWN_H__ 5 #ifndef CHROME_BROWSER_BROWSER_SHUTDOWN_H__
6 #define CHROME_BROWSER_BROWSER_SHUTDOWN_H__ 6 #define CHROME_BROWSER_BROWSER_SHUTDOWN_H__
7 7
8 class PrefRegistrySimple; 8 class PrefRegistrySimple;
9 9
10 namespace browser_shutdown { 10 namespace browser_shutdown {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // except from appropriate places in BrowserList. To quit, use usual means, 59 // except from appropriate places in BrowserList. To quit, use usual means,
60 // e.g., using |chrome_browser_application_mac::Terminate()| on the Mac, or 60 // e.g., using |chrome_browser_application_mac::Terminate()| on the Mac, or
61 // |BrowserList::CloseAllWindowsAndExit()| on other platforms. To stop quitting, 61 // |BrowserList::CloseAllWindowsAndExit()| on other platforms. To stop quitting,
62 // use |chrome_browser_application_mac::CancelTerminate()| on the Mac; other 62 // use |chrome_browser_application_mac::CancelTerminate()| on the Mac; other
63 // platforms can call SetTryingToQuit(false) directly. 63 // platforms can call SetTryingToQuit(false) directly.
64 void SetTryingToQuit(bool quitting); 64 void SetTryingToQuit(bool quitting);
65 65
66 // General accessor. 66 // General accessor.
67 bool IsTryingToQuit(); 67 bool IsTryingToQuit();
68 68
69 // This is true on X during an END_SESSION initiated by X IO Error, when we
70 // can no longer depend on the X server to be running. As a result we don't
71 // explicitly close the browser windows, which can lead to conditions which
72 // would fail checks.
73 bool ShuttingDownWithoutClosingBrowsers();
74
75 // Sets the ShuttingDownWithoutClosingBrowsers flag.
76 void SetShuttingDownWithoutClosingBrowsers(bool without_close);
77
78 } // namespace browser_shutdown 69 } // namespace browser_shutdown
79 70
80 #endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H__ 71 #endif // CHROME_BROWSER_BROWSER_SHUTDOWN_H__
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698