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

Unified Diff: ios/net/cookies/cookie_store_ios.mm

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
« no previous file with comments | « ios/net/cookies/cookie_store_ios.h ('k') | ios/net/cookies/cookie_store_ios_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_store_ios.mm
diff --git a/ios/net/cookies/cookie_store_ios.mm b/ios/net/cookies/cookie_store_ios.mm
index 20994333f193d02235b489284380b58ec430ffbe..e0e5280b454467f2be9868540100e41c88ab5d18 100644
--- a/ios/net/cookies/cookie_store_ios.mm
+++ b/ios/net/cookies/cookie_store_ios.mm
@@ -388,7 +388,6 @@ void CookieStoreIOS::SetCookieWithDetailsAsync(
bool secure,
bool http_only,
CookieSameSite same_site,
- bool enforce_strict_secure,
CookiePriority priority,
const SetCookiesCallback& callback) {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -397,8 +396,8 @@ void CookieStoreIOS::SetCookieWithDetailsAsync(
case NOT_SYNCHRONIZED:
cookie_monster_->SetCookieWithDetailsAsync(
url, name, value, domain, path, creation_time, expiration_time,
- last_access_time, secure, http_only, same_site, enforce_strict_secure,
- priority, WrapSetCallback(callback));
+ last_access_time, secure, http_only, same_site, priority,
+ WrapSetCallback(callback));
break;
case SYNCHRONIZED:
// If cookies are not allowed, they are stashed in the CookieMonster, and
@@ -415,7 +414,7 @@ void CookieStoreIOS::SetCookieWithDetailsAsync(
std::unique_ptr<net::CanonicalCookie> canonical_cookie =
net::CanonicalCookie::Create(
url, name, value, domain, path, creation_time, expiration_time,
- secure, http_only, same_site, enforce_strict_secure, priority);
+ secure, http_only, same_site, priority);
if (canonical_cookie) {
NSHTTPCookie* cookie =
« no previous file with comments | « ios/net/cookies/cookie_store_ios.h ('k') | ios/net/cookies/cookie_store_ios_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698