Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4595)

Unified Diff: chrome/browser/chromeos/system/tray_accessibility_browsertest.cc

Issue 1425093004: Revert of This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
diff --git a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
index b6e2b8a32b469661aecf52d6820a49ebeef93fb5..2badedad77f2c8ed5044f5762675b0fe4c80d8a5 100644
--- a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
+++ b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
@@ -272,8 +272,7 @@
EXPECT_EQ(ash::user::LOGGED_IN_NONE, GetLoginStatus());
user_manager::UserManager::Get()->UserLoggedIn(
- AccountId::FromUserEmail("owner@invalid.domain"), "owner@invalid.domain",
- true);
+ "owner@invalid.domain", "owner@invalid.domain", true);
user_manager::UserManager::Get()->SessionStarted();
EXPECT_EQ(ash::user::LOGGED_IN_USER, GetLoginStatus());
@@ -286,8 +285,7 @@
EXPECT_FALSE(IsTrayIconVisible());
user_manager::UserManager::Get()->UserLoggedIn(
- AccountId::FromUserEmail("owner@invalid.domain"), "owner@invalid.domain",
- true);
+ "owner@invalid.domain", "owner@invalid.domain", true);
user_manager::UserManager::Get()->SessionStarted();
// Confirms that the icon is invisible just after login.
@@ -352,8 +350,7 @@
IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, ShowMenu) {
// Login
user_manager::UserManager::Get()->UserLoggedIn(
- AccountId::FromUserEmail("owner@invalid.domain"), "owner@invalid.domain",
- true);
+ "owner@invalid.domain", "owner@invalid.domain", true);
user_manager::UserManager::Get()->SessionStarted();
SetShowAccessibilityOptionsInSystemTrayMenu(false);
@@ -421,8 +418,7 @@
IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, ShowMenuWithShowMenuOption) {
// Login
user_manager::UserManager::Get()->UserLoggedIn(
- AccountId::FromUserEmail("owner@invalid.domain"), "owner@invalid.domain",
- true);
+ "owner@invalid.domain", "owner@invalid.domain", true);
user_manager::UserManager::Get()->SessionStarted();
SetShowAccessibilityOptionsInSystemTrayMenu(true);

Powered by Google App Engine
This is Rietveld 408576698