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

Unified Diff: content/browser/worker_host/worker_process_host.h

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 months 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/worker_host/worker_process_host.h
===================================================================
--- content/browser/worker_host/worker_process_host.h (revision 117096)
+++ content/browser/worker_host/worker_process_host.h (working copy)
@@ -16,8 +16,6 @@
#include "content/browser/worker_host/worker_document_set.h"
#include "googleurl/src/gurl.h"
-class ResourceDispatcherHost;
-
namespace content {
class ResourceContext;
class WorkerServiceImpl;
@@ -109,9 +107,7 @@
const content::ResourceContext* const resource_context_;
};
- WorkerProcessHost(
- const content::ResourceContext* resource_context,
- ResourceDispatcherHost* resource_dispatcher_host);
+ explicit WorkerProcessHost(const content::ResourceContext* resource_context);
virtual ~WorkerProcessHost();
// Starts the process. Returns true iff it succeeded.
@@ -190,8 +186,6 @@
// process.
scoped_refptr<WorkerMessageFilter> worker_message_filter_;
- ResourceDispatcherHost* const resource_dispatcher_host_;
-
DISALLOW_COPY_AND_ASSIGN(WorkerProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698