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

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

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: code review Created 8 years, 5 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 | « no previous file | chrome/browser/sessions/session_restore.cc » ('j') | content/browser/browser_context.cc » ('J')
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 97e312bac0e22fb3289aa0bcaa053f1bb5bae0d7..7278ff53b75f976b2151a8abb97001d083167b72 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -300,6 +300,9 @@ ProfileImpl::ProfileImpl(const FilePath& path,
} else {
NOTREACHED();
}
+
+ if (command_line->HasSwitch(switches::kEnableRestoreSessionState))
+ SetSaveSessionStorageOnDisk(true);
}
void ProfileImpl::DoFinalInit(bool is_new_profile) {
« no previous file with comments | « no previous file | chrome/browser/sessions/session_restore.cc » ('j') | content/browser/browser_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698