Commit e464fa2a authored by rkc@chromium.org's avatar rkc@chromium.org

Breaks logout on retail mode.

Revert 131704 - Use ExitCleanly to exit intead of AttemptUserExit.
When the idle logout dialog exits, it needs to completely just exit the browser and not get blocked by any existing windows waiting to close; hence use ExitCleanly instead of AttemptUserExit when ending the session from the idle logout dialog.

R=tbarzic@chromium.org
BUG=chromium-os:29176
TEST=Tested that we logout instead of getting stuck.

Review URL: https://chromiumcodereview.appspot.com/10014036

TBR=rkc@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10103023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132530 0039d316-1c4b-4281-b951-d872f2087c98
parent cf06693e
......@@ -51,7 +51,7 @@ KioskModeSettings* IdleLogoutSettingsProvider::GetKioskModeSettings() {
}
void IdleLogoutSettingsProvider::LogoutCurrentUser(IdleLogoutDialogView*) {
BrowserList::ExitCleanly();
BrowserList::AttemptUserExit();
}
////////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment