summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_content_browser_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell_content_browser_client.cc')
-rw-r--r--content/shell/shell_content_browser_client.cc21
1 files changed, 17 insertions, 4 deletions
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 2a31c9a..74ff4aa 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -64,10 +64,6 @@ void ShellContentBrowserClient::PluginProcessHostCreated(
PluginProcessHost* host) {
}
-void ShellContentBrowserClient::WorkerProcessHostCreated(
- WorkerProcessHost* host) {
-}
-
WebUIFactory* ShellContentBrowserClient::GetWebUIFactory() {
// Return an empty factory so callsites don't have to check for NULL.
return EmptyWebUIFactory::GetInstance();
@@ -162,6 +158,23 @@ bool ShellContentBrowserClient::AllowSaveLocalState(
return true;
}
+bool ShellContentBrowserClient::AllowWorkerDatabase(
+ int worker_route_id,
+ const GURL& url,
+ const string16& name,
+ const string16& display_name,
+ unsigned long estimated_size,
+ WorkerProcessHost* worker_process_host) {
+ return true;
+}
+
+bool ShellContentBrowserClient::AllowWorkerFileSystem(
+ int worker_route_id,
+ const GURL& url,
+ WorkerProcessHost* worker_process_host) {
+ return true;
+}
+
QuotaPermissionContext*
ShellContentBrowserClient::CreateQuotaPermissionContext() {
return NULL;