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

Unified Diff: chrome/browser/chromeos/login/login_browsertest.cc

Issue 1693383003: ChromeOS cryptohome should be able to use gaia id as user identifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. Created 4 years, 10 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/login/login_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_browsertest.cc b/chrome/browser/chromeos/login/login_browsertest.cc
index d1d248e77b4b97ae1fc1a4fb634a5a658daffe51..bd7b287a889082eb3bad83c6c913bd5954c8eb1e 100644
--- a/chrome/browser/chromeos/login/login_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_browsertest.cc
@@ -161,8 +161,8 @@ class LoginTest : public LoginManagerTest {
StartGaiaAuthOffline();
- UserContext user_context(AccountId::FromUserEmail(kTestUser));
- user_context.SetGaiaID(kGaiaId);
+ UserContext user_context(
+ AccountId::FromUserEmailGaiaId(kTestUser, kGaiaId));
user_context.SetKey(Key(kPassword));
SetExpectedCredentials(user_context);
}

Powered by Google App Engine
This is Rietveld 408576698