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

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

Issue 2732513002: CookieStoreIOS should consider SystemCookiesAllowed unless system cookies policy is set to never. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | 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 4aa95eab3f005db5f0f0c1bf9ac72ee8672fb80d..8e9e9ea2c4ce0d4b66dd3589f138341006f6a679 100644
--- a/ios/net/cookies/cookie_store_ios.mm
+++ b/ios/net/cookies/cookie_store_ios.mm
@@ -591,7 +591,7 @@ void CookieStoreIOS::ClearSystemStore() {
bool CookieStoreIOS::SystemCookiesAllowed() {
DCHECK(thread_checker_.CalledOnValidThread());
- return [system_store_ cookieAcceptPolicy] == NSHTTPCookieAcceptPolicyAlways;
+ return [system_store_ cookieAcceptPolicy] != NSHTTPCookieAcceptPolicyNever;
}
void CookieStoreIOS::WriteToCookieMonster(NSArray* system_cookies) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698