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

Unified Diff: ash/login/ui/lock_contents_view.cc

Issue 2911493002: cros: Pull user info from session_controller_client.mojom into separate mojom. (Closed)
Patch Set: Fix ordering in typemaps Created 3 years, 7 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 | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/login/ui/lock_contents_view.cc
diff --git a/ash/login/ui/lock_contents_view.cc b/ash/login/ui/lock_contents_view.cc
index ac26b52f6a454ea5d3f7812356b3b48a859781b1..7107e9898f8bbabb89bf3822f3bbbff62bea7316 100644
--- a/ash/login/ui/lock_contents_view.cc
+++ b/ash/login/ui/lock_contents_view.cc
@@ -5,6 +5,7 @@
#include "ash/login/ui/lock_contents_view.h"
#include "ash/login/lock_screen_controller.h"
+#include "ash/public/interfaces/user_info.mojom.h"
#include "ash/session/session_controller.h"
#include "ash/shell.h"
#include "base/strings/utf_string_conversions.h"
@@ -42,7 +43,7 @@ void LockContentsView::ButtonPressed(views::Button* sender,
const mojom::UserSession* const user_session =
Shell::Get()->session_controller()->GetUserSession(user_index);
Shell::Get()->lock_screen_controller()->AuthenticateUser(
- user_session->account_id, std::string(),
+ user_session->user_info->account_id, std::string(),
false /* authenticated_by_pin */);
}
« no previous file with comments | « no previous file | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698