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

Unified Diff: chrome/browser/ui/views/update_recommended_message_box.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/ui/views/frame/browser_frame_win.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/update_recommended_message_box.cc
===================================================================
--- chrome/browser/ui/views/update_recommended_message_box.cc (revision 137868)
+++ chrome/browser/ui/views/update_recommended_message_box.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/ui/views/update_recommended_message_box.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 "ui/base/l10n/l10n_util.h"
@@ -52,7 +52,7 @@
chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart();
// If running the Chrome OS build, but we're not on the device, fall through
#endif
- BrowserList::AttemptRestart();
+ browser::AttemptRestart();
return true;
}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_win.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698