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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 190603002: Remove --disable-restore-session-state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 6b1932f1567dc563119adb121399eae1894838b9..bc8980667b2d1bfb2a44e576aaaeff76c899fa0f 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -595,12 +595,9 @@ void ProfileImpl::DoFinalInit() {
base::Bind(&EnsureReadmeFile, GetPath()),
base::TimeDelta::FromMilliseconds(create_readme_delay_ms));
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableRestoreSessionState)) {
- TRACE_EVENT0("browser", "ProfileImpl::SetSaveSessionStorageOnDisk")
- content::BrowserContext::GetDefaultStoragePartition(this)->
- GetDOMStorageContext()->SetSaveSessionStorageOnDisk();
- }
+ TRACE_EVENT0("browser", "ProfileImpl::SetSaveSessionStorageOnDisk");
+ content::BrowserContext::GetDefaultStoragePartition(this)->
+ GetDOMStorageContext()->SetSaveSessionStorageOnDisk();
// Creation has been finished.
if (delegate_) {
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698