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

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

Issue 1773133002: SameSite: Implement 'Strict'/'Lax' attribute parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios? 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: ios/net/cookies/system_cookie_util_unittest.mm
diff --git a/ios/net/cookies/system_cookie_util_unittest.mm b/ios/net/cookies/system_cookie_util_unittest.mm
index 0273809701438f5107fedfcdd99321c8fbe7fc56..e9ca2157d76563586d5e7e4db52ab42c682c7e8e 100644
--- a/ios/net/cookies/system_cookie_util_unittest.mm
+++ b/ios/net/cookies/system_cookie_util_unittest.mm
@@ -32,7 +32,7 @@ void CheckSystemCookie(const base::Time& expires, bool secure, bool httponly) {
expires,
base::Time(), // last_access
secure, httponly,
- false, // same_site
+ net::COOKIE_SAME_SITE_DEFAULT,
net::COOKIE_PRIORITY_DEFAULT);
// Convert it to system cookie.
base::scoped_nsobject<NSHTTPCookie> system_cookie(
@@ -125,7 +125,7 @@ TEST(CookieUtil, SystemCookieFromBadCanonicalCookie) {
base::Time(), // last_access
false, // secure
false, // httponly
- false, // same_site
+ net::COOKIE_SAME_SITE_DEFAULT,
net::COOKIE_PRIORITY_DEFAULT);
// Convert it to system cookie.
base::scoped_nsobject<NSHTTPCookie> system_cookie(

Powered by Google App Engine
This is Rietveld 408576698