-
Lily Chen authored
This change adds a CookieStore method, GetAllCookiesWithAccessSemanticsAsync, which returns a list of all cookies in the CookieStore along with a list of the CookieAccessSemantics for each returned cookie. These lists will be in the same order, so that each cookie in the returned list of cookies has the access semantics at the same index in the other list. This is implemented for CookieMonster only, and other CookieStore implementations will use the default impl which returns UNKNOWN for all the cookies. A later CL will additionally expose this method via the CookieManager interface. Bug: 978172 Change-Id: I8463806f5cc6ce6c8d200bec57bbecba5fe3aec6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846071Reviewed-by:
Mohammad Refaat <mrefaat@chromium.org> Reviewed-by:
Maks Orlovich <morlovich@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#703824}
8d1685b9