Commit b20d95af authored by Caleb Raitto's avatar Caleb Raitto Committed by Commit Bot

Add comments on deprecated SameSite=Extended enum values.

We're keeping these enum values only for conversion of old DB
values and UMA metrics.

Bug: 953995
Change-Id: I98681a90c81ee3d6d27dc1e8ea0100334cfc0897
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890537Reviewed-by: default avatarLily Chen <chlily@chromium.org>
Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711082}
parent 9896b224
...@@ -64,7 +64,7 @@ enum class CookieSameSiteString { ...@@ -64,7 +64,7 @@ enum class CookieSameSiteString {
kLax = 3, kLax = 3,
kStrict = 4, kStrict = 4,
kNone = 5, kNone = 5,
kExtended = 6, kExtended = 6, // Deprecated, kept for metrics only.
// Keep last, update if adding new value. // Keep last, update if adding new value.
kMaxValue = kExtended kMaxValue = kExtended
......
...@@ -480,6 +480,7 @@ enum DBCookieSameSite { ...@@ -480,6 +480,7 @@ enum DBCookieSameSite {
kCookieSameSiteNoRestriction = 0, kCookieSameSiteNoRestriction = 0,
kCookieSameSiteLax = 1, kCookieSameSiteLax = 1,
kCookieSameSiteStrict = 2, kCookieSameSiteStrict = 2,
// Deprecated, mapped to kCookieSameSiteUnspecified.
kCookieSameSiteExtended = 3 kCookieSameSiteExtended = 3
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment