Descriptionsync: Improve handling of bad UniquePositions
Makes the client assign a valid position to incoming bookmarks if the
server has not populated the required fields. This code should never be
triggered unless there is a bug in the server. This risks reordering
users' bookmarks, but that's probably preferable to a crash.
Detects bookmarks that do not have valid position information during
database load. If these corrupted bookmarks are detected, the entire
database is declared to be corrupt. Sync will then re-download
all of the user's data, which should fix the problem.
BUG=367247
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270308
Patch Set 1 #Patch Set 2 : Testing receipt of invalid position updates #
Total comments: 12
Patch Set 3 : Fix bug + nits #
Total comments: 2
Patch Set 4 : Fix comment #Patch Set 5 : Rebase #
Messages
Total messages: 16 (0 generated)
|