cros: Fix easy unlock app causing crash on login screen.
commit0ac68ed510339f5b174b844ae88a646ede4a9288
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 2 Aug 2014 07:39:19 +0000 (2 07:39 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 2 Aug 2014 07:39:19 +0000 (2 07:39 +0000)
treeb8f6c065f623d52f74f4f6c10aea1839808d3935
parent442233d48747e65512b01ee892ba0c3a4eb8935a
cros: Fix easy unlock app causing crash on login screen.

EasyUnlockService is created with profile. Previous code to prevent
it from being created on login screen does not work for all cases.
Move the logic to EasyUnlockServiceFactory::GetBrowserContextToUse
fixes the issue.

BUG=399705
TBR=rogerta@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287176 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/signin/easy_unlock_service_factory.cc