Skip to content

Commit

Permalink
Cherry-pick of https://crrev.com/c/3076060 into M102
Browse files Browse the repository at this point in the history
Enable PartitionedCookies when --enable-experimental-cookie-features is
set

(cherry picked from commit 3b1be5b)

Bug: 1225444
Change-Id: I59d684d3319e9a171c0c97bdfe064b8d3dbf1c2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3076060
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Dylan Cutler <dylancutler@google.com>
Cr-Original-Commit-Position: refs/heads/main@{#993681}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3594202
Cr-Commit-Position: refs/branch-heads/5005@{#36}
Cr-Branched-From: 5b4d945-refs/heads/main@{#992738}
  • Loading branch information
DCtheTall authored and Chromium LUCI CQ committed Apr 19, 2022
1 parent 3630083 commit a7afd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ GetSwitchDependentFeatureOverrides(const base::CommandLine& command_line) {
{switches::kEnableExperimentalCookieFeatures,
std::cref(net::features::kSchemefulSameSite),
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
{switches::kEnableExperimentalCookieFeatures,
std::cref(net::features::kPartitionedCookies),
base::FeatureList::OVERRIDE_ENABLE_FEATURE},

// Overrides for --isolation-by-default.
{switches::kIsolationByDefault,
Expand Down
1 change: 1 addition & 0 deletions content/public/common/content_switches.cc
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ const char kEnableCaretBrowsing[] = "enable-caret-browsing";
// net::features::kSameSiteDefaultChecksMethodRigorously
// net::features::kSchemefulSameSite
// net::features::kCookieSameSiteConsidersRedirectChain
// net::features::kPartitionedCookies
const char kEnableExperimentalCookieFeatures[] =
"enable-experimental-cookie-features";

Expand Down

0 comments on commit a7afd40

Please sign in to comment.