Use different type of CookieAccessDelegate for Android WebView
This change adds different types with which CookieAccessDelegateImpl can be constructed. One type, USE_CONTENT_SETTINGS is the default behavior of checking the CookieSettings to determine whether a given cookie is Legacy or Nonlegacy. The other type, ALWAYS_LEGACY, always returns Legacy access semantics for every cookie. The ALWAYS_LEGACY type of CookieAccessDelegate is used for Android WebView, for compatibility reasons. (The SameSite cookie changes would break too much stuff, so we treat every cookie as Legacy to maintain compatibility.) Bug: 986319 Change-Id: I68384da121b025525da5fd2ef6f9dff25a8a2ff5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872782Reviewed-by:Nate Fischer <ntfschr@chromium.org> Reviewed-by:
Martin Barbella <mbarbella@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Reviewed-by:
Maksim Orlovich <morlovich@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#708674}
Showing
Please register or sign in to comment