Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index a61f179800d488780e4cf85c69ba42f69e70aa89..bec63631a6c675ef773691ad66e2193117ebae2d 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -224,8 +224,6 @@ |
| #endif |
| #if defined(OS_POSIX) |
| -#include "content/browser/zygote_host/zygote_communication_linux.h" |
| -#include "content/browser/zygote_host/zygote_host_impl_linux.h" |
| #include "content/public/browser/zygote_handle_linux.h" |
| #endif // defined(OS_POSIX) |
| @@ -383,12 +381,6 @@ SiteProcessMap* GetSiteProcessMapForBrowserContext(BrowserContext* context) { |
| return map; |
| } |
| -#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| -// This static member variable holds the zygote communication information for |
| -// the renderer. |
| -ZygoteHandle g_render_zygote; |
| -#endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| - |
| // NOTE: changes to this class need to be reviewed by the security team. |
| class RendererSandboxedProcessLauncherDelegate |
| : public SandboxedProcessLauncherDelegate { |
| @@ -695,18 +687,6 @@ void RenderProcessHost::SetMaxRendererProcessCount(size_t count) { |
| g_max_renderer_count_override = count; |
| } |
| -#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| -// static |
| -void RenderProcessHostImpl::EarlyZygoteLaunch() { |
| - DCHECK(!g_render_zygote); |
|
James Cook
2017/04/27 21:43:49
Never written! :-)
|
| - // TODO(kerrnel): Investigate doing this without the ZygoteHostImpl as a |
| - // proxy. It is currently done this way due to concerns about race |
| - // conditions. |
| - ZygoteHostImpl::GetInstance()->SetRendererSandboxStatus( |
| - (*GetGenericZygote())->GetSandboxStatus()); |
| -} |
| -#endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| - |
| RenderProcessHostImpl::RenderProcessHostImpl( |
| BrowserContext* browser_context, |
| StoragePartitionImpl* storage_partition_impl, |