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

Unified Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc

Issue 2932303002: Modernize account ids in wallpaper browsertest (Closed)
Patch Set: Rebase Created 3 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698