| 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 92daee101c29c72f2f400ee6dac39c9d3462f048..8afa63df4d50750316ea54869b7f52c8a785ef37 100644
|
| --- a/chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_util_unittest.cc
|
| @@ -217,7 +217,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) {
|
| @@ -298,7 +301,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.
|
| @@ -306,7 +309,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) {
|
|
|