Description[Sync] Refactor sync configuration logic.
We remove all the pending download/configure state in SBH, in addition
to the split transaction nature of configurations themselves. This allows
us to have a single SyncScheduler::ScheduleConfiguration command that is
both synchronous (assuming it doesn't fail) and can handle
CleanupDisabledTypes and GetKey commands.
This also now keys which datatypes need downloading by checking the
initial sync ended bits directly. This allows us to recover from a new
sync db gracefully.
BUG=129665, 133061, 129825
TEST=unit/integration tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142517
Patch Set 1 #
Total comments: 8
Patch Set 2 : Split off patches and address comments. #Patch Set 3 : Self review #Patch Set 4 : Rebase #
Total comments: 37
Patch Set 5 : Address comments #Patch Set 6 : SetBool -> CallbackCounter #
Total comments: 27
Patch Set 7 : Address comments + rebase #
Total comments: 9
Patch Set 8 : Address comments #Patch Set 9 : Use mock sync scheduler instead of DoConfigureSyncer #
Messages
Total messages: 18 (0 generated)
|