| Index: chrome/browser/chromeos/arc/arc_util.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_util.cc b/chrome/browser/chromeos/arc/arc_util.cc
|
| index 70194d74567eb1e3c0425b04269efb40a6db8b2b..814c35cd9cb0984e98d2feac9fca88e3e6a6856a 100644
|
| --- a/chrome/browser/chromeos/arc/arc_util.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_util.cc
|
| @@ -128,11 +128,7 @@ bool IsArcAllowedInAppListForProfile(const Profile* profile) {
|
| // (e.g. in public sessions). cf) crbug.com/605545
|
| const user_manager::User* user =
|
| chromeos::ProfileHelper::Get()->GetUserByProfile(profile);
|
| - const bool has_gaia_account = user && user->HasGaiaAccount();
|
| - const bool is_arc_active_directory_user =
|
| - user && user->IsActiveDirectoryUser() &&
|
| - IsArcAllowedForActiveDirectoryUsers();
|
| - if (!has_gaia_account && !is_arc_active_directory_user && !IsArcKioskMode()) {
|
| + if (!IsArcAllowedForUser(user) && !IsArcKioskMode()) {
|
| VLOG(1) << "Users without GAIA accounts are not supported in ARC.";
|
| return false;
|
| }
|
| @@ -146,13 +142,6 @@ bool IsArcAllowedInAppListForProfile(const Profile* profile) {
|
| return false;
|
| }
|
|
|
| - // Do not allow for Ephemeral data user. cf) b/26402681
|
| - if (user_manager::UserManager::Get()
|
| - ->IsCurrentUserCryptohomeDataEphemeral()) {
|
| - VLOG(1) << "Users with ephemeral data are not supported in ARC.";
|
| - return false;
|
| - }
|
| -
|
| return true;
|
| }
|
|
|
|
|