diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 15:22:15 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 15:22:15 +0000 |
commit | 10b691f4261e09a0c824ecec44f37ac74fc4dcec (patch) | |
tree | 4f00f2cb6a58eb23c04b1f231367d4810229d835 /net/cookies/cookie_options.h | |
parent | 7afca868e97f8228878fc6d3db9194c5596ecf22 (diff) | |
download | chromium_src-10b691f4261e09a0c824ecec44f37ac74fc4dcec.zip chromium_src-10b691f4261e09a0c824ecec44f37ac74fc4dcec.tar.gz chromium_src-10b691f4261e09a0c824ecec44f37ac74fc4dcec.tar.bz2 |
Remove the force_session cookie option, as it's not used anymore
BUG=133903
TEST=none
TBR=sky@chromium.org,wtc@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10694093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cookies/cookie_options.h')
-rw-r--r-- | net/cookies/cookie_options.h | 10 |
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 |