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

Unified Diff: chrome/browser/signin/chrome_proximity_auth_client.cc

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bugfix in original easy unlock code' Created 5 years 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/signin/chrome_proximity_auth_client.cc
diff --git a/chrome/browser/signin/chrome_proximity_auth_client.cc b/chrome/browser/signin/chrome_proximity_auth_client.cc
index a3037fd1b694eae088eb181e53266387539530b4..7ae77366b77dfca51da28ccd2a7b92923452be6e 100644
--- a/chrome/browser/signin/chrome_proximity_auth_client.cc
+++ b/chrome/browser/signin/chrome_proximity_auth_client.cc
@@ -78,8 +78,9 @@ void ChromeProximityAuthClient::GetChallengeForUserAndDevice(
}
static_cast<EasyUnlockServiceSignin*>(easy_unlock_service)
- ->WrapChallengeForUserAndDevice(user_id, remote_public_key,
- channel_binding_data, callback);
+ ->WrapChallengeForUserAndDevice(AccountId::FromUserEmail(user_id),
+ remote_public_key, channel_binding_data,
+ callback);
#else
callback.Run(std::string());
#endif

Powered by Google App Engine
This is Rietveld 408576698