summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 15:21:07 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 15:21:07 +0000
commit00a5ab6d8d6ac2deb35b7c843aab7497de029753 (patch)
tree9db62952a07c137d2aa97236e362058090275f5e /webkit
parent258190eab6a6815e3d49ccf587c82adcd1f929c5 (diff)
downloadchromium_src-00a5ab6d8d6ac2deb35b7c843aab7497de029753.zip
chromium_src-00a5ab6d8d6ac2deb35b7c843aab7497de029753.tar.gz
chromium_src-00a5ab6d8d6ac2deb35b7c843aab7497de029753.tar.bz2
Stub implementation for allowDatabase callback for workers.
BUG=40095 TEST=none Review URL: http://codereview.chromium.org/2002011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/test_shell/test_web_worker.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_web_worker.h b/webkit/tools/test_shell/test_web_worker.h
index 7db70ac..ab378ee 100644
--- a/webkit/tools/test_shell/test_web_worker.h
+++ b/webkit/tools/test_shell/test_web_worker.h
@@ -14,6 +14,7 @@
namespace WebKit {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+class WebFrame;
class WebNotificationPresenter;
class WebString;
class WebURL;
@@ -82,6 +83,12 @@ class TestWebWorker : public WebKit::WebWorker,
WebKit::WebApplicationCacheHostClient*) {
return NULL;
}
+ virtual bool allowDatabase(WebKit::WebFrame* frame,
+ const WebKit::WebString& name,
+ const WebKit::WebString& display_name,
+ unsigned long estimated_size) {
+ return true;
+ }
private:
friend class base::RefCounted<TestWebWorker>;