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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_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_get_keys_operation.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
index e0789c8005fe615bf03e3f46fb0c7b8ae497ee8c..7bd2730c9f957426a98b929e82761d87c5b7db41 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
@@ -9,6 +9,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h"
+#include "components/signin/core/account_id/account_id.h"
#include "google_apis/gaia/gaia_auth_util.h"
namespace chromeos {
@@ -33,7 +34,7 @@ void EasyUnlockGetKeysOperation::Start() {
void EasyUnlockGetKeysOperation::GetKeyData() {
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);
cryptohome::HomedirMethods::GetInstance()->GetKeyDataEx(
id,

Powered by Google App Engine
This is Rietveld 408576698