summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebCommonWorkerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebCommonWorkerClient.h')
-rw-r--r--WebKit/chromium/public/WebCommonWorkerClient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebCommonWorkerClient.h b/WebKit/chromium/public/WebCommonWorkerClient.h
index 13603cb..cea6471 100644
--- a/WebKit/chromium/public/WebCommonWorkerClient.h
+++ b/WebKit/chromium/public/WebCommonWorkerClient.h
@@ -35,6 +35,7 @@ namespace WebKit {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+class WebFrame;
class WebNotificationPresenter;
class WebString;
class WebWorker;
@@ -79,6 +80,9 @@ public:
// Called on the main webkit thread in the worker process during initialization.
virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostClient*) = 0;
+ // Called on the main webkit thread before opening a web database.
+ virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize) = 0;
+
protected:
~WebCommonWorkerClient() { }
};