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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.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: Update after review. Created 5 years, 2 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/easy_unlock/easy_unlock_create_keys_operation.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
index 4d5f15c1dcb54d4c353bd0101ca1541f24b2f6c1..24aa0667ea1a3c4fc3115b5c9617384c6850dcde 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
@@ -347,7 +347,7 @@ void EasyUnlockCreateKeysOperation::OnGetSystemSalt(
// Add cryptohome key.
std::string canonicalized =
achuithb 2015/10/28 23:11:44 const
Alexander Alekseev 2015/10/29 02:00:39 Done.
- gaia::CanonicalizeEmail(user_context_.GetUserID());
+ gaia::CanonicalizeEmail(user_context_.GetAccountId().GetUserEmail());
cryptohome::Identification id(canonicalized);
scoped_ptr<Key> auth_key(new Key(*user_context_.GetKey()));

Powered by Google App Engine
This is Rietveld 408576698