[unified-consent] Use URL-keyed anonymized data collection consent for UKM.
For profiles with unified consent enabled, the sync state is completely ignored when deciding whether UKM is enabled. The decision whether UKM is allowed for a profile with user consent enabled is based only on the URL-keyed anonymized data collection enabled preference. This CL changes the UKM logic to check whether URL-keyed anonymized data collections is enabled for profiles where unified consent is enabled. This CL also updates the ProfileSyncServiceHarness to set/unset the state of the UnifiedConsentGiven flag when the state of sync everything changes. Bug: 861777 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I974a3eea2caa424efe44c1dd8b7c6f2bb24f156e Reviewed-on: https://chromium-review.googlesource.com/1152744Reviewed-by:Brian White <bcwhite@chromium.org> Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Thomas Tangl <tangltom@chromium.org> Reviewed-by:
Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#580210}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment