Chromium Code Reviews
Description[Sync] Simplify sync startup behavior.
Now IsFirstSetupComplete, IsSetupInProgress, and AUTO_START do not
directly factor into the sync startup logic. Instead, AUTO_START simply
sets IsFirstSetupComplete to true on signin, and sync datatypes can only
be configured if IsFirstSetupComplete && !IsSetupInProgress (aka the new
CanConfigureDataTypes helper function).
This change is motivated by wanting to have better understanding and
control over when and how sync starts up in order to fix the attached
bug.
BUG=462796
Committed: https://crrev.com/76b6100f27b728e8235746b14e4a8c784eae4549
Cr-Commit-Position: refs/heads/master@{#380685}
Patch Set 1 #Patch Set 2 : Fix PSS unittests. #Patch Set 3 : Split out StartBehavior move. #Patch Set 4 : Fix startup tests. #Patch Set 5 : Rebase. #Patch Set 6 : Fix a test. #Patch Set 7 : Remove timeout reduction. #Patch Set 8 : Better comment + tests. #
Total comments: 20
Patch Set 9 : Address comments. #Patch Set 10 : Address more comments. #
Total comments: 12
Patch Set 11 : Address comments, fix tests, etc. #Patch Set 12 : Rebase. #Messages
Total messages: 21 (8 generated)
|