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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_profile_loader.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: Add missing files. 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/app_mode/kiosk_profile_loader.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc b/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
index d856520465ebd430e40e4e5f3558446e0df33a65..2f3128c14394ea5ea21cb9c692acc45e28979ffd 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
@@ -160,7 +160,7 @@ void KioskProfileLoader::OnAuthSuccess(const UserContext& user_context) {
// user as a demo user.
UserContext context = user_context;
if (context.GetAccountId() == login::GuestAccountId())
- context.SetUserID(login::DemoAccountId().GetUserEmail());
+ context.SetAccountId(login::DemoAccountId());
UserSessionManager::GetInstance()->StartSession(
context, UserSessionManager::PRIMARY_USER_SESSION,
false, // has_auth_cookies

Powered by Google App Engine
This is Rietveld 408576698