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

Unified Diff: content/browser/frame_host/render_frame_message_filter.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: content/browser/frame_host/render_frame_message_filter.cc
diff --git a/content/browser/frame_host/render_frame_message_filter.cc b/content/browser/frame_host/render_frame_message_filter.cc
index 803ce426f4fd58617fe21657165e315d13ca83b6..a45f527c91e9dd1b684663bac1a0702bb2f92a42 100644
--- a/content/browser/frame_host/render_frame_message_filter.cc
+++ b/content/browser/frame_host/render_frame_message_filter.cc
@@ -394,7 +394,7 @@ void RenderFrameMessageFilter::OnGetCookies(int render_frame_id,
net::URLRequestContext* context = GetRequestContextForURL(url);
net::CookieOptions options;
- options.set_include_same_site();
+ options.set_include_same_site(net::CookieSameSite::STRICT_MODE);
context->cookie_store()->GetCookieListWithOptionsAsync(
url, options,
base::Bind(&RenderFrameMessageFilter::CheckPolicyForCookies, this,
« no previous file with comments | « no previous file | net/base/registry_controlled_domains/registry_controlled_domain.h » ('j') | net/cookies/cookie_options.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698