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

Unified Diff: chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.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/chromeos/login/auth/chrome_cryptohome_authenticator.cc
diff --git a/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
index 97b24d2138f003d6841adac7feef0a7323a313ae..869f424078d0409bc88b343b843bb92862f36a99 100644
--- a/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
+++ b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
@@ -26,7 +26,7 @@ ChromeCryptohomeAuthenticator::~ChromeCryptohomeAuthenticator() {
}
bool ChromeCryptohomeAuthenticator::IsKnownUser(const UserContext& context) {
- return user_manager::UserManager::Get()->IsKnownUser(context.GetUserID());
+ return user_manager::UserManager::Get()->IsKnownUser(context.GetAccountId());
}
bool ChromeCryptohomeAuthenticator::IsSafeMode() {

Powered by Google App Engine
This is Rietveld 408576698