Adopt new commit infrastructure for keystore Nigori initialization
The newly introduced mechanism around PendingLocalNigoriCommit allows implementing NigoriSyncBridgeImpl::MergeSyncData(), responsible for keystore Nigori initialization (in case it receives a default NigoriSpecifics), in a way that: a) Success is only reported when the sync server acks the commit. b) Conflict-resolution becomes simple. c) Logic is factored out from NigoriSyncBridgeImpl. Bug: 922900 Change-Id: Ie6e2f2ecdb37bb6de21f57de472bfe6e6c28237a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865310 Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com> Auto-Submit: Maksim Moskvitin <mmoskvitin@google.com> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#706906}
Showing
Please register or sign in to comment