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

Unified Diff: net/base/cookie_monster.cc

Issue 8473010: Mark a cookie as session cookie, if the expiry date cannot be parsed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | net/base/cookie_monster_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.cc
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc
index 7274cec24c575acf6df5ca5f6ff6c7277c041d0d..03061c6851041bf6b9e2a6ab707a52b57f076fde 100644
--- a/net/base/cookie_monster.cc
+++ b/net/base/cookie_monster.cc
@@ -2631,7 +2631,7 @@ CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create(
return (Create(url, pc.Name(), pc.Value(), domain_string, path_string,
mac_key, mac_algorithm, creation_time, expiration_time,
- pc.IsSecure(), pc.IsHttpOnly(), pc.HasExpires()));
+ pc.IsSecure(), pc.IsHttpOnly(), !expiration_time.is_null()));
}
CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create(
« no previous file with comments | « no previous file | net/base/cookie_monster_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698