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

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

Issue 10830216: Enable storing and restoring sessionStorage by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes in; this is simple again. Created 8 years, 4 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 | no next file » | 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 d5144b2f038c9fb3e23102ad778aa0910b09724b..259a4e0d336313865bc4deefe8ba63f3ea4aac7f 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -422,8 +422,8 @@ void ProfileImpl::DoFinalInit(bool is_new_profile) {
base::Bind(&EnsureReadmeFile, GetPath()),
base::TimeDelta::FromMilliseconds(create_readme_delay_ms));
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableRestoreSessionState)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableRestoreSessionState)) {
content::BrowserContext::GetDefaultDOMStorageContext(this)->
SetSaveSessionStorageOnDisk();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698