| Index: chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_util_unittest.cc b/chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| index e826282e1671e2595c9f12a0202ae9fa4e3c08db..ba0fbdbfa7eddbc2dd9072fee752e19f43dc4f68 100644
|
| --- a/chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| @@ -238,7 +238,10 @@ TEST_F(ChromeArcUtilTest, IsArcAllowedForProfile_PublicAccount) {
|
| ScopedLogIn login(GetFakeUserManager(),
|
| AccountId::FromUserEmail("public_user@gmail.com"),
|
| user_manager::USER_TYPE_PUBLIC_ACCOUNT);
|
| - EXPECT_FALSE(IsArcAllowedForProfile(profile()));
|
| + EXPECT_FALSE(chromeos::ProfileHelper::Get()
|
| + ->GetUserByProfile(profile())
|
| + ->HasGaiaAccount());
|
| + EXPECT_TRUE(IsArcAllowedForProfile(profile()));
|
| }
|
|
|
| TEST_F(ChromeArcUtilTest, IsArcAllowedForProfile_ActiveDirectoryEnabled) {
|
| @@ -319,7 +322,7 @@ TEST_F(ChromeArcUtilTest, IsArcAllowedForProfile_GuestAccount) {
|
| {"", "--arc-availability=officially-supported"});
|
| ScopedLogIn login(GetFakeUserManager(),
|
| GetFakeUserManager()->GetGuestAccountId());
|
| - EXPECT_FALSE(IsArcAllowedForProfile(profile()));
|
| + EXPECT_TRUE(IsArcAllowedForProfile(profile()));
|
| }
|
|
|
| // Demo account is interpreted as EphemeralDataUser.
|
| @@ -327,7 +330,7 @@ TEST_F(ChromeArcUtilTest, IsArcAllowedForProfile_DemoAccount) {
|
| base::CommandLine::ForCurrentProcess()->InitFromArgv(
|
| {"", "--arc-availability=officially-supported"});
|
| ScopedLogIn login(GetFakeUserManager(), user_manager::DemoAccountId());
|
| - EXPECT_FALSE(IsArcAllowedForProfile(profile()));
|
| + EXPECT_TRUE(IsArcAllowedForProfile(profile()));
|
| }
|
|
|
| TEST_F(ChromeArcUtilTest, IsArcCompatibleFileSystemUsedForProfile) {
|
|
|