Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: net/base/cookie_monster_unittest.cc

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/base/cookie_monster.cc ('K') | « net/base/cookie_monster_store_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster_unittest.cc
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc
index ce8d9ae29c5d4095e413c0149af5a019d2a8132e..dd5d1e198568202f86adbef23f98c9b1a55fda1f 100644
--- a/net/base/cookie_monster_unittest.cc
+++ b/net/base/cookie_monster_unittest.cc
@@ -46,6 +46,7 @@ class NewMockPersistentCookieStore
void(const CookieMonster::CanonicalCookie& cc));
MOCK_METHOD1(DeleteCookie, void(const CookieMonster::CanonicalCookie& cc));
MOCK_METHOD1(SetClearLocalStateOnExit, void(bool clear_local_state));
+ MOCK_METHOD1(SetClearSessionStateOnExit, void(bool clear_session_state));
MOCK_METHOD1(Flush, void(Task* completion_task));
};
@@ -3027,6 +3028,7 @@ class FlushablePersistentStore : public CookieMonster::PersistentCookieStore {
void UpdateCookieAccessTime(const CookieMonster::CanonicalCookie&) {}
void DeleteCookie(const CookieMonster::CanonicalCookie&) {}
void SetClearLocalStateOnExit(bool clear_local_state) {}
+ void SetClearSessionStateOnExit(bool clear_session_state) {}
void Flush(Task* completion_callback) {
++flush_count_;
« net/base/cookie_monster.cc ('K') | « net/base/cookie_monster_store_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698