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

Unified Diff: chrome/browser/ui/webui/flags_ui.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/ui/webui/flags_ui.cc
===================================================================
--- chrome/browser/ui/webui/flags_ui.cc (revision 137868)
+++ chrome/browser/ui/webui/flags_ui.cc (working copy)
@@ -13,9 +13,9 @@
#include "base/values.h"
#include "chrome/browser/about_flags.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
#include "chrome/common/pref_names.h"
@@ -147,7 +147,7 @@
}
void FlagsDOMHandler::HandleRestartBrowser(const ListValue* args) {
- BrowserList::AttemptRestart();
+ browser::AttemptRestart();
}
} // namespace
« no previous file with comments | « chrome/browser/ui/views/update_recommended_message_box.cc ('k') | chrome/browser/ui/webui/help/version_updater_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698