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 = |