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

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

Issue 8760011: Move the ProcessType enum out to its own file. This is in preparation for getting rid of ChildPro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac 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
« no previous file with comments | « content/browser/utility_process_host.cc ('k') | content/browser/worker_host/worker_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_process_host.cc
===================================================================
--- content/browser/worker_host/worker_process_host.cc (revision 112315)
+++ content/browser/worker_host/worker_process_host.cc (working copy)
@@ -84,7 +84,7 @@
WorkerProcessHost::WorkerProcessHost(
const content::ResourceContext* resource_context,
ResourceDispatcherHost* resource_dispatcher_host)
- : BrowserChildProcessHost(WORKER_PROCESS),
+ : BrowserChildProcessHost(content::PROCESS_TYPE_WORKER),
resource_context_(resource_context),
resource_dispatcher_host_(resource_dispatcher_host) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
@@ -234,7 +234,7 @@
resource_context_->request_context();
ResourceMessageFilter* resource_message_filter = new ResourceMessageFilter(
- id(), WORKER_PROCESS, resource_context_,
+ id(), content::PROCESS_TYPE_WORKER, resource_context_,
new URLRequestContextSelector(request_context),
resource_dispatcher_host_);
AddFilter(resource_message_filter);
« no previous file with comments | « content/browser/utility_process_host.cc ('k') | content/browser/worker_host/worker_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698