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

Unified Diff: chrome/browser/net/nss_context_chromeos_browsertest.cc

Issue 1412813003: 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: Fix Win GN build. Created 5 years, 1 month 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/net/nss_context_chromeos_browsertest.cc
diff --git a/chrome/browser/net/nss_context_chromeos_browsertest.cc b/chrome/browser/net/nss_context_chromeos_browsertest.cc
index bcc869c800ca265b38f3509c129cb750061eed33..616549cc7522b5733f157b4614ba8caabc8cfd61 100644
--- a/chrome/browser/net/nss_context_chromeos_browsertest.cc
+++ b/chrome/browser/net/nss_context_chromeos_browsertest.cc
@@ -136,7 +136,7 @@ IN_PROC_BROWSER_TEST_F(NSSContextChromeOSBrowserTest, TwoUsers) {
// Log in first user and get their DB.
LoginUser(kTestUser1);
Profile* profile1 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe(
- user_manager->FindUser(kTestUser1));
+ user_manager->FindUser(AccountId::FromUserEmail(kTestUser1)));
ASSERT_TRUE(profile1);
DBTester tester1(profile1);
@@ -148,7 +148,7 @@ IN_PROC_BROWSER_TEST_F(NSSContextChromeOSBrowserTest, TwoUsers) {
AddUser(kTestUser2);
Profile* profile2 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe(
- user_manager->FindUser(kTestUser2));
+ user_manager->FindUser(AccountId::FromUserEmail(kTestUser2)));
ASSERT_TRUE(profile2);
DBTester tester2(profile2);

Powered by Google App Engine
This is Rietveld 408576698