| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 5fca438d75ce62b02dd7d5cba70f9b8796e10f20..e9d04d9f798526050a0b7aa5351ed397f4783b3a 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -435,7 +435,8 @@ ProfileImpl::ProfileImpl(
|
| "profile files to the root directory!";
|
|
|
| #if defined(OS_CHROMEOS)
|
| - if (!chromeos::ProfileHelper::IsSigninProfile(this)) {
|
| + if (!chromeos::ProfileHelper::IsSigninProfile(this) &&
|
| + !chromeos::ProfileHelper::IsLockScreenAppProfile(this)) {
|
| const user_manager::User* user =
|
| chromeos::ProfileHelper::Get()->GetUserByProfile(this);
|
| // A |User| instance should always exist for a profile which is not the
|
| @@ -693,7 +694,8 @@ void ProfileImpl::DoFinalInit() {
|
| // mark the session as initialized. Need to do this before we restart below
|
| // so we don't get in a weird state where we restart before the session is
|
| // marked as initialized and so try to initialize it again.
|
| - if (!chromeos::ProfileHelper::IsSigninProfile(this)) {
|
| + if (!chromeos::ProfileHelper::IsSigninProfile(this) &&
|
| + !chromeos::ProfileHelper::IsLockScreenAppProfile(this)) {
|
| chromeos::ProfileHelper* profile_helper = chromeos::ProfileHelper::Get();
|
| user_manager::UserManager::Get()->OnProfileInitialized(
|
| profile_helper->GetUserByProfile(this));
|
|
|