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

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

Issue 2918933002: [EasyUnlock] Make login work if command line flag is enabled. (Closed)
Patch Set: 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 | chrome/browser/signin/easy_unlock_service_signin_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service_regular.cc
diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
index 8c4dbd68736f757d332ab3c8ff36b8d42e733108..76abbe6860f628907ce973bdce68617e10c505b9 100644
--- a/chrome/browser/signin/easy_unlock_service_regular.cc
+++ b/chrome/browser/signin/easy_unlock_service_regular.cc
@@ -147,10 +147,8 @@ void EasyUnlockServiceRegular::OnRemoteDevicesLoaded(
dict->SetString("permitRecord.type", "license");
dict->SetString("permitRecord.data", b64_public_key);
- // TODO(tengs): Retrieve the actual BeaconSeeds from the RemoteDevice.
- std::vector<cryptauth::BeaconSeed> beacon_seeds;
std::unique_ptr<base::ListValue> beacon_seed_list(new base::ListValue());
- for (const auto& beacon_seed : beacon_seeds) {
+ for (const auto& beacon_seed : device.beacon_seeds) {
std::string b64_beacon_seed;
base::Base64UrlEncode(beacon_seed.SerializeAsString(),
base::Base64UrlEncodePolicy::INCLUDE_PADDING,
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service_signin_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698