Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(813)

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 8514004: Remove includes of worker_messages.h from chrome code, since that's an internal detail of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_content_browser_client.cc
===================================================================
--- content/shell/shell_content_browser_client.cc (revision 109446)
+++ content/shell/shell_content_browser_client.cc (working copy)
@@ -64,10 +64,6 @@
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 @@
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;
« chrome/browser/ui/webui/workers_ui.cc ('K') | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698