Index: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc |
index 47b2d79813fbc5500c37c3fc5099e276fa78dfa9..cedad1a437a58ef4b391b848f6636137f94cbefa 100644 |
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc |
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc |
@@ -57,9 +57,11 @@ int kLargeWallpaperHeight = wallpaper::kLargeWallpaperMaxHeight; |
int kSmallWallpaperWidth = 256; |
int kSmallWallpaperHeight = wallpaper::kSmallWallpaperMaxHeight; |
-const char kTestUser1[] = "test1@domain.com"; |
+const char kTestUser1Email[] = "test1@domain.com"; |
+const char kTestUser1Id[] = "1234567890123456789012"; |
const char kTestUser1Hash[] = "test1@domain.com-hash"; |
-const char kTestUser2[] = "test2@domain.com"; |
+const char kTestUser2Email[] = "test2@domain.com"; |
+const char kTestUser2Id[] = "1234567890123456789013"; |
const char kTestUser2Hash[] = "test2@domain.com-hash"; |
} // namespace |
@@ -171,8 +173,10 @@ class WallpaperManagerBrowserTest : public InProcessBrowserTest { |
// wallpaper images. |
std::unique_ptr<base::ScopedTempDir> wallpaper_dir_; |
- const AccountId test_account_id1_ = AccountId::FromUserEmail(kTestUser1); |
- const AccountId test_account_id2_ = AccountId::FromUserEmail(kTestUser2); |
+ const AccountId test_account_id1_ = |
+ AccountId::FromUserEmailGaiaId(kTestUser1Email, kTestUser1Id); |
+ const AccountId test_account_id2_ = |
+ AccountId::FromUserEmailGaiaId(kTestUser2Email, kTestUser2Id); |
const wallpaper::WallpaperFilesId test_account1_wallpaper_files_id_ = |
wallpaper::WallpaperFilesId::FromString(kTestUser1Hash); |