
...into kDisabled and kPaused, because they will soon have to be treated differently. This enum is used both for the Sync.FeatureStatusForSyncToSigninMigration histogram and the kSyncFeatureStatusForSyncToSigninMigration pref. The value of kDisabledOrPaused (1) is reused for kDisabled, because that's the cheapest way to ensure existing pref values on disk continue to be valid. If the user is in TransportState::PAUSED, the pref will be updated to kPaused (4) on the first startup with this CL. Bug: 358563471 Change-Id: Ib77a21ee8b7ab3dd6b6bf746d824b9e6f00e5cac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5844591 Auto-Submit: Victor Vianna <victorvianna@google.com> Commit-Queue: Victor Vianna <victorvianna@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Rushan Suleymanov <rushans@google.com> Cr-Commit-Position: refs/heads/main@{#1353956}
See components/sync/README.md.