summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.h
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 17:02:08 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 17:02:08 +0000
commit109607461c875c18217b2c3624a060945f11daea (patch)
treea13e520003dffb6079c762c20ebddd5a4d4b8640 /webkit/glue/webpreferences.h
parent07958334a979f0049e4d2baf44da70a9a4f1aaff (diff)
downloadchromium_src-109607461c875c18217b2c3624a060945f11daea.zip
chromium_src-109607461c875c18217b2c3624a060945f11daea.tar.gz
chromium_src-109607461c875c18217b2c3624a060945f11daea.tar.bz2
Enable DOM_STORAGE in our build. Put LocalStorage and SessionStorage behind their own flags. Add the beginnings of StorageNamespaceProxy since it implements WebCore::StorageNamespace::____StorageNamespace and we'd get link errors otherwise.
--enable-local-storage and --enable-session-storage are the new flags. If you enable them and try to use DOM Storage, Chromium will crash. BUG=4360 TEST=none Review URL: http://codereview.chromium.org/149792 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r--webkit/glue/webpreferences.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index d75138a..dd0581e 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -42,6 +42,8 @@ struct WebPreferences {
bool uses_page_cache;
bool remote_fonts_enabled;
bool xss_auditor_enabled;
+ bool local_storage_enabled;
+ bool session_storage_enabled;
// TODO(tc): User style sheets will not work in chrome because it tries to
// load the style sheet using a request without a frame.
@@ -79,6 +81,8 @@ struct WebPreferences {
uses_page_cache(false),
remote_fonts_enabled(false),
xss_auditor_enabled(false),
+ local_storage_enabled(false),
+ session_storage_enabled(false),
user_style_sheet_enabled(false) {
}
};