summaryrefslogtreecommitdiffstats
path: root/net/cookies/cookie_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/cookies/cookie_options.h')
-rw-r--r--net/cookies/cookie_options.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
index a59054a..05c3a19 100644
--- a/net/cookies/cookie_options.h
+++ b/net/cookies/cookie_options.h
@@ -16,23 +16,15 @@ class CookieOptions {
// - reading operations will not return httponly cookies.
// - writing operations will not write httponly cookies.
CookieOptions()
- : exclude_httponly_(true),
- force_session_(false) {
+ : exclude_httponly_(true) {
}
void set_exclude_httponly() { exclude_httponly_ = true; }
void set_include_httponly() { exclude_httponly_ = false; }
bool exclude_httponly() const { return exclude_httponly_; }
- // 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_; }
-
private:
bool exclude_httponly_;
- bool force_session_;
};
} // namespace net