summaryrefslogtreecommitdiffstats
path: root/chrome/worker
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/worker')
-rw-r--r--chrome/worker/webworkerclient_proxy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/worker/webworkerclient_proxy.h b/chrome/worker/webworkerclient_proxy.h
index d498895..4e25c7c 100644
--- a/chrome/worker/webworkerclient_proxy.h
+++ b/chrome/worker/webworkerclient_proxy.h
@@ -15,6 +15,7 @@
namespace WebKit {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+class WebFrame;
class WebWorker;
}
@@ -73,6 +74,15 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient {
virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
WebKit::WebApplicationCacheHostClient* client);
+ virtual bool allowDatabase(WebKit::WebFrame* frame,
+ const WebKit::WebString& name,
+ const WebKit::WebString& display_name,
+ unsigned long estimated_size) {
+ // TODO(jochen): Check content settings whether access to web databases is
+ // allowed.
+ return true;
+ }
+
void EnsureWorkerContextTerminates();
private: