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

Unified Diff: chrome/browser/chrome_browser_main_x11.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
Index: chrome/browser/chrome_browser_main_x11.cc
===================================================================
--- chrome/browser/chrome_browser_main_x11.cc (revision 137868)
+++ chrome/browser/chrome_browser_main_x11.cc (working copy)
@@ -8,8 +8,8 @@
#include "base/debug/debugger.h"
#include "base/message_loop.h"
#include "chrome/browser/browser_shutdown.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/metrics/metrics_service.h"
-#include "chrome/browser/ui/browser_list.h"
#include "chrome/common/chrome_result_codes.h"
#include "content/public/browser/browser_thread.h"
#include "ui/base/x/x11_util.h"
@@ -61,7 +61,7 @@
g_in_x11_io_error_handler = true;
LOG(ERROR) << "X IO Error detected";
browser_shutdown::SetShuttingDownWithoutClosingBrowsers(true);
- BrowserList::SessionEnding();
+ browser::SessionEnding();
}
return 0;
« no previous file with comments | « chrome/browser/chrome_browser_main_posix.cc ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698