diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-05 08:31:43 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-05 08:31:43 +0000 |
commit | bf510ed89ae0469951d8a9d39ca40e6c171db663 (patch) | |
tree | 781235082dd354a4731d32ac9322aff8ff30c73f /net/cookies/cookie_monster_unittest.cc | |
parent | 52d213e0e78f33a43364913c1328cac0bac42299 (diff) | |
download | chromium_src-bf510ed89ae0469951d8a9d39ca40e6c171db663.zip chromium_src-bf510ed89ae0469951d8a9d39ca40e6c171db663.tar.gz chromium_src-bf510ed89ae0469951d8a9d39ca40e6c171db663.tar.bz2 |
Unwire the clear on exit preference from the storage systems.
The "session only" rules should cover the functionality now
UI changes and migration code will follow
BUG=129349
TEST=added unit tests for the chrome/browser/net/sqlite* classes
Review URL: https://chromiumcodereview.appspot.com/10447117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cookies/cookie_monster_unittest.cc')
-rw-r--r-- | net/cookies/cookie_monster_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc index fc570b9..84183d7 100644 --- a/net/cookies/cookie_monster_unittest.cc +++ b/net/cookies/cookie_monster_unittest.cc @@ -43,8 +43,8 @@ class NewMockPersistentCookieStore MOCK_METHOD1(UpdateCookieAccessTime, void(const CookieMonster::CanonicalCookie& cc)); MOCK_METHOD1(DeleteCookie, void(const CookieMonster::CanonicalCookie& cc)); - MOCK_METHOD1(SetClearLocalStateOnExit, void(bool clear_local_state)); MOCK_METHOD1(Flush, void(const base::Closure& callback)); + MOCK_METHOD0(SetForceKeepSessionState, void()); private: virtual ~NewMockPersistentCookieStore() {} @@ -2220,7 +2220,7 @@ class FlushablePersistentStore : public CookieMonster::PersistentCookieStore { void AddCookie(const CookieMonster::CanonicalCookie&) {} void UpdateCookieAccessTime(const CookieMonster::CanonicalCookie&) {} void DeleteCookie(const CookieMonster::CanonicalCookie&) {} - void SetClearLocalStateOnExit(bool clear_local_state) {} + void SetForceKeepSessionState() {} void Flush(const base::Closure& callback) { ++flush_count_; |