Stop using BlockThirdPartyCookies preference in Preference API
The boolean BlockThirdPartyCookies preference was replaced by CookieControlsMode enum. Existing settings were migrated since M83. Fix handling of CookieControlsMode::kIncognitoOnly state, which is the new default, where 3p cookies are allowed in regular mode but blocked in incognito mode. Previously the extension api would not report the state correctly in incognito mode unless it is explicitly set to block or allow. Bug: 1104836 Change-Id: Idad018d7a23aca913888fe6a66eb0502e26525a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367095 Commit-Queue: Christian Dullweber <dullweber@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#803152}
Showing
This diff is collapsed.
Please register or sign in to comment