Description[Sync] Ensure unready types' state is updated before every reconfiguration
Problematic scenario involves one unready datatype:
- Perform normal configuration.
- Call ResetDataTypeErrors()
- Trigger reconfiguration through failure of some other datatype.
In this scenario DataTypeStatusTable::unready_errors_ is empty and
ModelAssociationManager attempts to call LoadModels for unready type.
In this change I move code to update unready_errors_ so it gets executed in
reconfiguration codepath as well as normal configure.
R=zea@chromium.org
BUG=661817
Committed: https://crrev.com/f09651efa84e17b879e82400422f4cfa87738ac3
Cr-Commit-Position: refs/heads/master@{#430843}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Address comment from Nicolas. #
Messages
Total messages: 10 (5 generated)
|