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

Unified Diff: content/browser/mock_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/browser/mock_content_browser_client.cc
===================================================================
--- content/browser/mock_content_browser_client.cc (revision 109446)
+++ content/browser/mock_content_browser_client.cc (working copy)
@@ -50,10 +50,6 @@
PluginProcessHost* host) {
}
-void MockContentBrowserClient::WorkerProcessHostCreated(
- WorkerProcessHost* host) {
-}
-
WebUIFactory* MockContentBrowserClient::GetWebUIFactory() {
// Return an empty factory so callsites don't have to check for NULL.
return EmptyWebUIFactory::GetInstance();
@@ -147,6 +143,23 @@
return true;
}
+bool MockContentBrowserClient::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 MockContentBrowserClient::AllowWorkerFileSystem(
+ int worker_route_id,
+ const GURL& url,
+ WorkerProcessHost* worker_process_host) {
+ return true;
+}
+
QuotaPermissionContext*
MockContentBrowserClient::CreateQuotaPermissionContext() {
return NULL;

Powered by Google App Engine
This is Rietveld 408576698