| Index: chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
|
| diff --git a/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc b/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
|
| index 51db158ec4b2c862ca6fed00f609a59f05ebcd4e..602b1d4ebd6ede32e8fcc6734529683077d2c8b4 100644
|
| --- a/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
|
| +++ b/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
|
| @@ -212,7 +212,7 @@ class UserPolicySigninServiceTest : public testing::Test {
|
|
|
| virtual void AddProfile() {
|
| // For this test, the user should not be signed in yet.
|
| - DCHECK(signin_manager_->GetAuthenticatedUsername().empty());
|
| + DCHECK(!signin_manager_->IsAuthenticated());
|
|
|
| // Initializing UserPolicySigninService while the user is not signed in
|
| // should result in the store being cleared to remove any lingering policy.
|
| @@ -394,8 +394,8 @@ class UserPolicySigninServiceSignedInTest : public UserPolicySigninServiceTest {
|
|
|
| TEST_F(UserPolicySigninServiceTest, InitWhileSignedOut) {
|
| // Make sure user is not signed in.
|
| - ASSERT_TRUE(SigninManagerFactory::GetForProfile(profile_.get())->
|
| - GetAuthenticatedUsername().empty());
|
| + ASSERT_FALSE(SigninManagerFactory::GetForProfile(profile_.get())->
|
| + IsAuthenticated());
|
|
|
| // UserCloudPolicyManager should not be initialized.
|
| ASSERT_FALSE(manager_->core()->service());
|
|
|