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

Unified Diff: chrome/browser/ui/browser_list.h

Issue 8937001: Fixes for the kWasRestarted pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test build fix. Created 9 years 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
Index: chrome/browser/ui/browser_list.h
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h
index 5d33412e853f32bb720b0193e2bf9ba33241d517..700c51a5fe82fbc412e844e22d9618e04220c924 100644
--- a/chrome/browser/ui/browser_list.h
+++ b/chrome/browser/ui/browser_list.h
@@ -115,7 +115,7 @@ class BrowserList {
// CloseAllBrowsersAndExit. On ChromeOS, this tells session manager
// that chrome is signing out, which lets session manager send
// SIGTERM to start actual exit process.
- static void AttemptUserExit(bool restart);
+ static void AttemptUserExit();
// Starts a user initiated restart process. On platforms other than
// chromeos, this sets a restart bit in the preference so that
@@ -131,7 +131,7 @@ class BrowserList {
// successfully closed.
// Note that he exit process may be interrupted by download or
// unload handler, and the browser may or may not exit.
- static void AttemptExit(bool restart);
+ static void AttemptExit();
#if defined(OS_CHROMEOS)
// This is equivalent to AttemptUserExit, except that it always set
@@ -210,7 +210,7 @@ class BrowserList {
// Helper method to remove a browser instance from a list of browsers
static void RemoveBrowserFrom(Browser* browser, BrowserVector* browser_list);
static void MarkAsCleanShutdown();
- static void AttemptExitInternal(bool restart);
+ static void AttemptExitInternal();
// Counter of calls to StartKeepAlive(). If non-zero, the application will
// continue running after the last browser has exited.

Powered by Google App Engine
This is Rietveld 408576698