summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.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 /chrome/common/render_messages.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 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 41b9466..f769aaf 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1529,6 +1529,8 @@ struct ParamTraits<WebPreferences> {
WriteParam(m, p.uses_page_cache);
WriteParam(m, p.remote_fonts_enabled);
WriteParam(m, p.xss_auditor_enabled);
+ WriteParam(m, p.local_storage_enabled);
+ WriteParam(m, p.session_storage_enabled);
}
static bool Read(const Message* m, void** iter, param_type* p) {
return
@@ -1559,7 +1561,9 @@ struct ParamTraits<WebPreferences> {
ReadParam(m, iter, &p->user_style_sheet_location) &&
ReadParam(m, iter, &p->uses_page_cache) &&
ReadParam(m, iter, &p->remote_fonts_enabled) &&
- ReadParam(m, iter, &p->xss_auditor_enabled);
+ ReadParam(m, iter, &p->xss_auditor_enabled) &&
+ ReadParam(m, iter, &p->local_storage_enabled) &&
+ ReadParam(m, iter, &p->session_storage_enabled);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"<WebPreferences>");