| Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| index 87a4af9775a03e789772b2f58f449aaaf341607c..9f4d8841275b218024bf89df87302f419aa3caa5 100644
|
| --- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| +++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
|
| @@ -68,6 +68,7 @@
|
| #include "chrome/browser/prefs/session_startup_pref.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| +#include "chrome/browser/signin/signin_manager_factory.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| @@ -98,7 +99,7 @@
|
| #include "components/policy/core/common/policy_namespace.h"
|
| #include "components/policy/core/common/policy_service.h"
|
| #include "components/policy/core/common/policy_switches.h"
|
| -#include "components/signin/core/common/signin_pref_names.h"
|
| +#include "components/signin/core/browser/signin_manager.h"
|
| #include "components/user_manager/user.h"
|
| #include "components/user_manager/user_manager.h"
|
| #include "components/user_manager/user_type.h"
|
| @@ -937,8 +938,8 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, StartSession) {
|
| // account.
|
| Profile* profile = GetProfileForTest();
|
| ASSERT_TRUE(profile);
|
| - EXPECT_FALSE(profile->GetPrefs()->HasPrefPath(
|
| - prefs::kGoogleServicesUsername));
|
| + EXPECT_FALSE(
|
| + SigninManagerFactory::GetForProfile(profile)->IsAuthenticated());
|
| }
|
|
|
| IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, FullscreenDisallowed) {
|
|
|