End session on crash if current device-local account no longer exists
commit35c3c91be5b5da1d091fde59a08c87b3188ac417
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 14:53:55 +0000 (28 14:53 +0000)
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 14:53:55 +0000 (28 14:53 +0000)
treef6d8351cfa411dcebcab795f596ec79226c1e93f
parente2572f26764b05744e648dbd50a991220db3bb94
End session on crash if current device-local account no longer exists

When a device-local account is removed, its policy is deleted from disk
immediately. If a session using this account happens to be in progress,
the session is allowed to continue with policy served from an in-memory
cache. If Chrome crashes later in the session, the policy becomes
completely unavailable. Exit the session in that case, rather than
allowing it to continue without policy.

BUG=178290
TEST=Manual in VM

Review URL: https://codereview.chromium.org/252563007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266568 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/chrome_browser_main_chromeos.cc