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

Unified Diff: net/cookies/cookie_store.cc

Issue 1783813002: SameSite: Strict/Lax behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@strict-lax
Patch Set: WIP. Created 4 years, 9 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_store.cc
diff --git a/net/cookies/cookie_store.cc b/net/cookies/cookie_store.cc
index 85f01929270960ad581f3dc58bfa23665abb884c..6cd0551f0875ccbe6f9eb5834cbae18df45ec5b8 100644
--- a/net/cookies/cookie_store.cc
+++ b/net/cookies/cookie_store.cc
@@ -55,7 +55,7 @@ void CookieStore::GetAllCookiesForURLAsync(
const GetCookieListCallback& callback) {
CookieOptions options;
options.set_include_httponly();
- options.set_include_same_site();
+ options.set_include_same_site(CookieSameSite::STRICT_MODE);
options.set_do_not_update_access_time();
GetCookieListWithOptionsAsync(url, options, callback);
}

Powered by Google App Engine
This is Rietveld 408576698