0
Files
src/google_apis
Lily Chen b3ffdd63b1 Add SameParty attribute to CanonicalCookie
This adds a bool for SameParty to CanonicalCookie and updates ctor
callers (mostly tests).

It enforces the requirement that a canonical CanonicalCookie with
SameParty must be Secure, and must not have SameSite=Strict. Cookies
that violate this are rejected with a newly added
CookieInclusionStatus::ExclusionReason.

SameParty attribute semantics are not yet enforced.

This adds same_party to the cookie attributes logged for cookie store
events in the NetLog.

Bug: 1142606
Change-Id: I06899aa5e24b5037e0609009aec498476a616bdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2506303
Reviewed-by: David Roger <droger@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Mohammad Refaat <mrefaat@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Marc Treib <treib@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: Martin Šrámek <msramek@chromium.org>
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Commit-Queue: Lily Chen <chlily@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823603}
2020-11-03 18:04:23 +00:00
..
2020-10-07 16:08:16 +00:00