[CrOS Multidevice] Integrate SecureChannel API into EasyUnlockServiceSignin.
EasyUnlockServiceSignin cannot directly access DeviceSync API to retrieve RemoteDevices, because it is outside of a signed in session. Currently, this is solved by persisting remote devices to the TPM from EasyUnlockServiceRegular, for use later on by the Signin service. This CL reuses that persistance mechanism by also persisting the local device for each profile into the TPM. I have manually verified this change, both with a single and multiple profile(s). I have also manually verified that this correctly migrates; that is, if sign-in unlock is enabled before the chromeos::features::kMultiDeviceApi flag is enabled, and then the flag becomes enabled, the local device will correctly added as soon as the user signs in. R=khorimoto@chromium.org TBR=jhawkins@chromium.org Bug: 824568, 752273 Change-Id: I613a59004076533642ee3d591637cbbf79e52795 Reviewed-on: https://chromium-review.googlesource.com/1112902 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#570913}
Showing
Please register or sign in to comment