commit | 28ac1ad78705bdbbfe2a11f7bf0e4138e7301d06 | [log] [tgz] |
---|---|---|
author | Thomas Tangl <tangltom@chromium.org> | Sun Aug 19 19:18:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sun Aug 19 19:18:08 2018 |
tree | e2051ec67d609f0f0c4c26aeda1c38a44360a032 | |
parent | e33fda00811b2fde69f435d74af225e83e8f0f30 [diff] |
[unified-consent] Refactor migration code and add settings updates The migration code in the UnifiedConsentService is refactored: - The migration state IN_PROGRESS_SHOULD_SHOW_CONSENT_BUMP is extracted to it's own pref kShouldShowUnifiedConsentBump. - The migration state kInProgressWaitForSyncInit is introduced to be able to update the settings for migration when sync is initialized. Additional changes: - ShouldShowConsentBump only returns true if the consent bump feature is enabled. - The rollback enables sync-everything now also when the user is not syncing USER_EVENTS (which is disabled during the migration). Users that previously had the unified consent feature enabled and for which ShouldShowConsentBump=true, will not be shown the consent bump anymore after this CL is landed. This will only affect a few users on Canary and Dev. Bug: 863932 Change-Id: I211805f9059cd26056ed81d01ff19470b8caed3c Reviewed-on: https://chromium-review.googlesource.com/1172690 Reviewed-by: David Roger <droger@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Thomas Tangl <tangltom@chromium.org> Cr-Commit-Position: refs/heads/master@{#584341}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .