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

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

Issue 1773133002: SameSite: Implement 'Strict'/'Lax' attribute parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke@ 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
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | ios/net/cookies/system_cookie_util.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_unittest.mm
diff --git a/ios/net/cookies/cookie_store_ios_unittest.mm b/ios/net/cookies/cookie_store_ios_unittest.mm
index c436cc98253c691b3dcab2794fddad2f990dc2cf..af2c94ee8b9216b20030b02a5e58a8eee1ed4073 100644
--- a/ios/net/cookies/cookie_store_ios_unittest.mm
+++ b/ios/net/cookies/cookie_store_ios_unittest.mm
@@ -100,7 +100,7 @@ class RoundTripTestCookieStore : public net::CookieStore {
base::Time last_access_time,
bool secure,
bool http_only,
- bool same_site,
+ CookieSameSite same_site,
bool enforce_strict_secure,
CookiePriority priority,
const SetCookiesCallback& callback) override {
@@ -264,8 +264,7 @@ class TestPersistentCookieStore
base::Time(), // last_access
false, // secure
false, // httponly
- false, // same_site
- net::COOKIE_PRIORITY_DEFAULT);
+ net::CookieSameSite::DEFAULT_MODE, net::COOKIE_PRIORITY_DEFAULT);
cookies.push_back(bad_canonical_cookie);
loaded_callback_.Run(cookies);
}
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | ios/net/cookies/system_cookie_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698