From 683f427dbbd30a59c9026e6bab664792a19e723c Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Thu, 17 Apr 2014 20:42:18 +0000 Subject: Move some methods related to single-process out of content/public, since they're only called inside content. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/241353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264628 0039d316-1c4b-4281-b951-d872f2087c98 --- content/app/content_main_runner.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/app/content_main_runner.cc') diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index 2276f1a..b25dc20 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -27,6 +27,8 @@ #include "base/strings/stringprintf.h" #include "content/browser/browser_main.h" #include "content/browser/gpu/gpu_process_host.h" +#include "content/browser/renderer_host/render_process_host_impl.h" +#include "content/browser/utility_process_host_impl.h" #include "content/common/set_process_title.h" #include "content/common/url_schemes.h" #include "content/gpu/in_process_gpu_thread.h" @@ -34,8 +36,6 @@ #include "content/public/app/content_main_delegate.h" #include "content/public/app/startup_helper_win.h" #include "content/public/browser/content_browser_client.h" -#include "content/public/browser/render_process_host.h" -#include "content/public/browser/utility_process_host.h" #include "content/public/common/content_client.h" #include "content/public/common/content_constants.h" #include "content/public/common/content_paths.h" @@ -403,9 +403,9 @@ int RunZygote(const MainFunctionParams& main_function_params, #if !defined(OS_IOS) static void RegisterMainThreadFactories() { #if !defined(CHROME_MULTIPLE_DLL_BROWSER) - UtilityProcessHost::RegisterUtilityMainThreadFactory( + UtilityProcessHostImpl::RegisterUtilityMainThreadFactory( CreateInProcessUtilityThread); - RenderProcessHost::RegisterRendererMainThreadFactory( + RenderProcessHostImpl::RegisterRendererMainThreadFactory( CreateInProcessRendererThread); GpuProcessHost::RegisterGpuMainThreadFactory( CreateInProcessGpuThread); -- cgit v1.1