| 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 383bc749fc6d5e8bfc364643c51c530c363acb89..ffbccfd41855b0044d9e6d528028e546ed0269da 100644
|
| --- a/chrome/browser/chromeos/arc/arc_util.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_util.cc
|
| @@ -128,10 +128,8 @@ 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_active_directory_user = user && user->IsActiveDirectoryUser();
|
| - if (!has_gaia_account && !is_active_directory_user && !IsArcKioskMode()) {
|
| - VLOG(1) << "Users without GAIA or AD accounts are not supported in ARC.";
|
| + if (!IsArcAllowedForUser(user)) {
|
| + VLOG(1) << "ARC is not allowed for the user.";
|
| return false;
|
| }
|
|
|
| @@ -144,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;
|
| }
|
|
|
|
|