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

Unified Diff: chrome/browser/ui/cocoa/restart_browser.mm

Issue 10409022: Move application lifetime functionality off BrowserList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/ui/browser_window.h ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/restart_browser.mm
===================================================================
--- chrome/browser/ui/cocoa/restart_browser.mm (revision 137868)
+++ chrome/browser/ui/cocoa/restart_browser.mm (working copy)
@@ -5,7 +5,7 @@
#import "chrome/browser/ui/cocoa/restart_browser.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/ui_strings.h"
@@ -41,7 +41,7 @@
if (returnCode == NSAlertFirstButtonReturn) {
// Nothing to do. User will restart later.
} else if (returnCode == NSAlertSecondButtonReturn) {
- BrowserList::AttemptRestart();
+ browser::AttemptRestart();
} else {
NOTREACHED();
}
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698