Fix OnPassphraseRequired() issued for trusted vault passphrase
During trusted vault passphrase, the existence of pending keys should be signaled using OnTrustedVaultKeyRequired() instead of OnPassphraseRequired(). This patch fixes the calling site in NigoriSyncBridgeImpl::Init() and refactors the code to centralize all calling sites to prevent similar issues in the future. Bug: 1010189 Change-Id: I408279ff56c8e21aae05c498cf1238e1827b2ea3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1840632 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Maksim Moskvitin <mmoskvitin@google.com> Cr-Commit-Position: refs/heads/master@{#703216}
Showing
Please register or sign in to comment