Description[Sync] Fix bug where DeviceInfo is missing a backup timestamp
Remove last_synced_time_ member variable from ProfileSyncService. This
variable acted as a cache of the underlying pref. However, it was not
properly cleared in ProfileSyncService::DisableForUser when the
associated pref was cleared. This caused a bug where device info may
not have a backup timestamp.
BUG=427096
Committed: https://crrev.com/44d307099fc662e56b57c59f23214a85c2b206b2
Cr-Commit-Position: refs/heads/master@{#301481}
Patch Set 1 #Patch Set 2 : Add unit test that verifies fix. #Patch Set 3 : Merge with master. #
Messages
Total messages: 8 (2 generated)
|