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

Unified Diff: content/browser/devtools/protocol/network_handler.cc

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (Closed)
Patch Set: Rebase on ToT Created 3 years, 11 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/devtools/protocol/network_handler.cc
diff --git a/content/browser/devtools/protocol/network_handler.cc b/content/browser/devtools/protocol/network_handler.cc
index 56e37aca1e45ff2ad1940f7c63a11f79e417fc0b..013609738d34bb0c010df75e2bc86050e3b409d1 100644
--- a/content/browser/devtools/protocol/network_handler.cc
+++ b/content/browser/devtools/protocol/network_handler.cc
@@ -230,10 +230,6 @@ void SetCookieOnIO(
net::URLRequestContext* request_context =
GetRequestContextOnIO(resource_context, context_getter, url);
- bool are_experimental_cookie_features_enabled =
- request_context->network_delegate()
- ->AreExperimentalCookieFeaturesEnabled();
-
request_context->cookie_store()->SetCookieWithDetailsAsync(
url, name, value, domain, path,
base::Time(),
@@ -242,7 +238,6 @@ void SetCookieOnIO(
secure,
http_only,
same_site,
- are_experimental_cookie_features_enabled,
net::COOKIE_PRIORITY_DEFAULT,
base::Bind(&CookieSetOnIO, base::Passed(std::move(callback))));
}

Powered by Google App Engine
This is Rietveld 408576698