Index: chrome/browser/chromeos/login/ui/login_display_host_impl.h |
diff --git a/chrome/browser/chromeos/login/ui/login_display_host_impl.h b/chrome/browser/chromeos/login/ui/login_display_host_impl.h |
index 45b3f70256e450694aa96d8e7f282de9dcfbb26f..e4063c4a7f71da5c36f5d7b0b60b80a139bba0c3 100644 |
--- a/chrome/browser/chromeos/login/ui/login_display_host_impl.h |
+++ b/chrome/browser/chromeos/login/ui/login_display_host_impl.h |
@@ -35,6 +35,7 @@ |
#include "ui/wm/public/scoped_drag_drop_disabler.h" |
class PrefService; |
+class ScopedKeepAlive; |
namespace content { |
class RenderFrameHost; |
@@ -218,6 +219,9 @@ class LoginDisplayHostImpl : public LoginDisplayHost, |
// Demo app launcher. |
scoped_ptr<DemoAppLauncher> demo_app_launcher_; |
+ // Make sure chrome won't exit while we are at login/oobe screen. |
+ scoped_ptr<ScopedKeepAlive> keep_alive_; |
+ |
// Has ShutdownDisplayHost() already been called? Used to avoid posting our |
// own deletion to the message loop twice if the user logs out while we're |
// still in the process of cleaning up after login (http://crbug.com/134463). |