diff options
Diffstat (limited to 'chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc')
-rw-r--r-- | chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc b/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc index 8be5528..d7a433d 100644 --- a/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc +++ b/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc @@ -131,7 +131,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, LoginOffToOff) { EXPECT_FALSE(IsMagnifierEnabled()); // Logs in. - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); // Confirms that magnifier is still disabled just after login. EXPECT_FALSE(IsMagnifierEnabled()); @@ -156,7 +157,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, LoginFullToOff) { SetMagnifierEnabled(true); // Logs in (but the session is not started yet). - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); // Confirms that magnifier is keeping enabled. EXPECT_TRUE(IsMagnifierEnabled()); EXPECT_EQ(ash::MAGNIFIER_FULL, GetMagnifierType()); @@ -173,7 +175,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, LoginOffToFull) { EXPECT_FALSE(IsMagnifierEnabled()); // Logs in (but the session is not started yet). - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); // Confirms that magnifier is keeping disabled. EXPECT_FALSE(IsMagnifierEnabled()); @@ -198,7 +201,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, LoginFullToFull) { EXPECT_EQ(ash::MAGNIFIER_FULL, GetMagnifierType()); // Logs in (but the session is not started yet). - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); // Confirms that magnifier is keeping enabled. EXPECT_TRUE(IsMagnifierEnabled()); @@ -275,7 +279,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, ChangeMagnifierType) { IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, TypePref) { // Logs in - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); UserManager::Get()->SessionStarted(); // Confirms that magnifier is disabled just after login. @@ -291,7 +296,8 @@ IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, TypePref) { IN_PROC_BROWSER_TEST_F(MagnificationManagerTest, ResumeSavedTypeFullPref) { // Loads the profile of the user. - UserManager::Get()->UserLoggedIn("owner@invalid.domain", true); + UserManager::Get()->UserLoggedIn( + "owner@invalid.domain", "owner@invalid.domain", true); // Sets the pref as true to enable magnifier before login. EnableScreenManagnifierToPref(true); |