summaryrefslogtreecommitdiffstats
path: root/net/base/cookie_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/cookie_options.h')
-rw-r--r--net/base/cookie_options.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/base/cookie_options.h b/net/base/cookie_options.h
index 8ace523..203adaf 100644
--- a/net/base/cookie_options.h
+++ b/net/base/cookie_options.h
@@ -24,7 +24,9 @@ class CookieOptions {
void set_include_httponly() { exclude_httponly_ = false; }
bool exclude_httponly() const { return exclude_httponly_; }
- // Forces a cookie to be saved as a session cookie.
+ // Forces a cookie to be saved as a session cookie. If the expiration time of
+ // the cookie is in the past, i.e. the cookie would end up being deleted, this
+ // option is ignored. See CookieMonsterTest.ForceSessionOnly.
void set_force_session() { force_session_ = true; }
bool force_session() const { return force_session_; }