summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-22 01:24:43 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-22 01:24:43 +0000
commit8073e13e15825a137b7b6593364019dbf5edde42 (patch)
tree4dda49d4cb1632aa40c026b18a29d3fc79338a63 /webkit/glue
parent81eb08ea33f10e2704b45834c3a5799c5ab31933 (diff)
downloadchromium_src-8073e13e15825a137b7b6593364019dbf5edde42.zip
chromium_src-8073e13e15825a137b7b6593364019dbf5edde42.tar.gz
chromium_src-8073e13e15825a137b7b6593364019dbf5edde42.tar.bz2
Switch over to the new way of enabling/disabling session/local storage.
BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/293032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webpreferences.cc1
-rw-r--r--webkit/glue/webpreferences.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index cdb7260..a2a2b71 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -51,7 +51,6 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setXSSAuditorEnabled(xss_auditor_enabled);
settings->setLocalStorageEnabled(local_storage_enabled);
settings->setDatabasesEnabled(WebKit::databasesEnabled() || databases_enabled);
- settings->setSessionStorageEnabled(session_storage_enabled);
settings->setOfflineWebApplicationCacheEnabled(application_cache_enabled);
settings->setExperimentalNotificationsEnabled(
experimental_notifications_enabled);
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index 0693fb9..13a8c7b3 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -48,7 +48,6 @@ struct WebPreferences {
bool xss_auditor_enabled;
bool local_storage_enabled;
bool databases_enabled;
- bool session_storage_enabled;
bool application_cache_enabled;
bool tabs_to_links;
@@ -94,7 +93,6 @@ struct WebPreferences {
xss_auditor_enabled(false),
local_storage_enabled(false),
databases_enabled(false),
- session_storage_enabled(false),
application_cache_enabled(false),
tabs_to_links(true),
user_style_sheet_enabled(false),