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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.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
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index f0ada492a9e361e803c2377c1ce089d2a05aef91..5e3bbabe14a968e7d5217d68454b1f29aa53c03b 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -324,6 +324,8 @@ void ProfileImplIOData::LazyInitializeInternal(
cookie_store =
new net::CookieMonster(cookie_db.get(),
profile_params->cookie_monster_delegate);
+ if (command_line.HasSwitch(switches::kEnableRestoreSessionState))
erikwright (departed) 2011/11/28 16:18:16 Is it fair to say that this flag would eventually
marja 2011/11/29 12:56:01 Afaik yes. (Added "experimental" to the comment de
+ cookie_store->GetCookieMonster()->SetPersistSessionCookies(true);
}
net::CookieMonster* extensions_cookie_store =

Powered by Google App Engine
This is Rietveld 408576698