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

Unified Diff: chrome/browser/chrome_browser_main_posix.cc

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/chrome_browser_main_extra_parts_ash.cc ('k') | chrome/browser/chrome_browser_main_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_posix.cc
===================================================================
--- chrome/browser/chrome_browser_main_posix.cc (revision 137868)
+++ chrome/browser/chrome_browser_main_posix.cc (working copy)
@@ -18,7 +18,7 @@
#include "base/eintr_wrapper.h"
#include "base/logging.h"
#include "base/string_number_conversions.h"
-#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/browser/browser_thread.h"
@@ -144,9 +144,9 @@
VLOG(1) << "Handling shutdown for signal " << signal << ".";
#if defined(OS_CHROMEOS)
// On ChromeOS, exiting on signal should be always clean.
- base::Closure task = base::Bind(&BrowserList::ExitCleanly);
+ base::Closure task = base::Bind(&browser::ExitCleanly);
#else
- base::Closure task = base::Bind(&BrowserList::AttemptExit);
+ base::Closure task = base::Bind(&browser::AttemptExit);
#endif
if (!BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, task)) {
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_ash.cc ('k') | chrome/browser/chrome_browser_main_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698