summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-29 00:35:52 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-29 00:35:52 +0000
commit2f6a84d65c72e6fc4ff602523dda40aaa574a826 (patch)
tree9067d31dd3cc4e76d50f8dbf8db48a7da34e1ecf /chrome/common
parent16aebd6af9a3d7b79241558e3d388833d859be25 (diff)
downloadchromium_src-2f6a84d65c72e6fc4ff602523dda40aaa574a826.zip
chromium_src-2f6a84d65c72e6fc4ff602523dda40aaa574a826.tar.gz
chromium_src-2f6a84d65c72e6fc4ff602523dda40aaa574a826.tar.bz2
Force databases and localstorage to be enabled extensions.
We were already doing this, this change modifies the mechanism. Before we were relying on the presence of the --enable-extensions flag, but as we are getting ready to remove that on dev, we needed something else. This forces local storage and database to be enabled on chrome-extension:// pages. Also, change the way database enabling works in general to be more like the way local storage works, just for consistency. Will remove old, unnecessary WebKit API in an upstream change. erikkay: extensions stuff dumi: database stuff jorlow: local storage stuff BUG=19511 Review URL: http://codereview.chromium.org/173306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24841 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 4e80223..2eb355d 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1636,6 +1636,7 @@ struct ParamTraits<WebPreferences> {
WriteParam(m, p.remote_fonts_enabled);
WriteParam(m, p.xss_auditor_enabled);
WriteParam(m, p.local_storage_enabled);
+ WriteParam(m, p.databases_enabled);
WriteParam(m, p.session_storage_enabled);
WriteParam(m, p.application_cache_enabled);
}
@@ -1670,6 +1671,7 @@ struct ParamTraits<WebPreferences> {
ReadParam(m, iter, &p->remote_fonts_enabled) &&
ReadParam(m, iter, &p->xss_auditor_enabled) &&
ReadParam(m, iter, &p->local_storage_enabled) &&
+ ReadParam(m, iter, &p->databases_enabled) &&
ReadParam(m, iter, &p->session_storage_enabled) &&
ReadParam(m, iter, &p->application_cache_enabled);
}