summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 02:50:28 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 02:50:28 +0000
commit582fab735a08f7eba5c5ccdbf5f62d5bdb4ff09a (patch)
treec0982c7777fcef070238b60e2be09f24f11f619e /chrome/renderer
parenta558f190c7c7901c48aa430e45b0db9c45db2f1f (diff)
downloadchromium_src-582fab735a08f7eba5c5ccdbf5f62d5bdb4ff09a.zip
chromium_src-582fab735a08f7eba5c5ccdbf5f62d5bdb4ff09a.tar.gz
chromium_src-582fab735a08f7eba5c5ccdbf5f62d5bdb4ff09a.tar.bz2
Add a runtime flag for Indexed Database.
TEST=none BUG=none Review URL: http://codereview.chromium.org/553161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_thread.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 5b059ff..ecca2af 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -664,6 +664,9 @@ void RenderThread::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableSessionStorage(
command_line.HasSwitch(switches::kEnableSessionStorage));
+ WebRuntimeFeatures::enableIndexedDatabase(
+ command_line.HasSwitch(switches::kEnableIndexedDatabase));
+
WebRuntimeFeatures::enableGeolocation(
command_line.HasSwitch(switches::kEnableGeolocation));
}