Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: net/cookies/cookie_constants.h

Issue 1868493002: Ignore cookies with invalid 'SameSite' attribute values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cookies/cookie_constants.h
diff --git a/net/cookies/cookie_constants.h b/net/cookies/cookie_constants.h
index 49dafbdb3a12af6958da42788285f86b8db51497..78e86725bd2f5ce441db79c9b84ac1314ff044a4 100644
--- a/net/cookies/cookie_constants.h
+++ b/net/cookies/cookie_constants.h
@@ -22,6 +22,7 @@ enum class CookieSameSite {
NO_RESTRICTION = 0,
LAX_MODE = 1,
STRICT_MODE = 2,
+ INVALID_MODE = 3,
DEFAULT_MODE = NO_RESTRICTION
};

Powered by Google App Engine
This is Rietveld 408576698