[sync] Notify OnPassphraseAccepted() last upon SetEncryptionPassphrase()
OnPassphraseAccepted() indicates the completion of the asynchronous operation initiated by SetEncryptionPassphrase(), so it's cleanest to notify it last. This is expected to introduce no noticeable behavioral difference but simplifies writing tests. Change-Id: I261c19bcc1b1386234ca878233f34954046297f7 Bug: None Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2328966 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#793149}
Showing
Please register or sign in to comment