| Index: net/cookies/cookie_options.h
|
| diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
|
| index a59054a53c82d9bbfa985de10be90e74fd62f4f7..05c3a19961d14427d8b41bd5c503c22e8c5d34dd 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
|
|
|
|
|