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

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

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (Closed)
Patch Set: 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 60f76e22fe0c94fb9ed50cba64e1b9c8ff5fdeae..622d2bcfbcbb0e3c21cb01009d7b4453efbad518 100644
--- a/content/browser/devtools/protocol/network_handler.cc
+++ b/content/browser/devtools/protocol/network_handler.cc
@@ -130,10 +130,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(),
@@ -142,7 +138,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