
The field is somewhat redundant because the signin flow gets the user identifier (gaia ID) by other means. However, to prevent bugs that can lead to mixing up encryption keys across users, this patch bundles the gaia ID together with encryption keys and verifies the integrity of the information when the signin procedure completes, prior to the actual processing of the keys. Change-Id: I75f834c2f5e6cfccca752ea2d517bb8256ef9aa6 Fixed: 1081651 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2897569 Reviewed-by: David Roger <droger@chromium.org> Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#885039}