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 835cfa4c7233cab5f96ec33ee24b633ef64b7040..2a505a536c47ac6c77ea0f5be413781bd7ca3837 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -164,6 +164,8 @@ void RemoveShaderInfo(int32 id) { |
| } // namespace |
| +#if !defined(CHROME_MULTIPLE_DLL) |
| + |
| // This class creates the IO thread for the renderer when running in |
| // single-process mode. It's not used in multi-process mode. |
| class RendererMainThread : public base::Thread { |
| @@ -207,6 +209,8 @@ class RendererMainThread : public base::Thread { |
| DISALLOW_COPY_AND_ASSIGN(RendererMainThread); |
| }; |
| +#endif |
| + |
| namespace { |
| // Helper class that we pass to ResourceMessageFilter so that it can find the |
| @@ -500,8 +504,8 @@ bool RenderProcessHostImpl::Init() { |
| CreateMessageFilters(); |
| - // Single-process mode not supported in split-dll mode. |
| -#if !defined(CHROME_SPLIT_DLL) |
| + // Single-process mode not supported in multiple-dll mode currently. |
|
jam
2013/07/17 16:23:37
you probably want the same thing in utility_proces
scottmg
2013/07/17 16:49:35
i started that in a follow up here https://coderev
|
| +#if !defined(CHROME_MULTIPLE_DLL) |
| if (run_renderer_in_process()) { |
| // Crank up a thread and run the initialization there. With the way that |
| // messages flow between the browser and renderer, this thread is required |
| @@ -524,7 +528,7 @@ bool RenderProcessHostImpl::Init() { |
| OnProcessLaunched(); // Fake a callback that the process is ready. |
| } else |
| -#endif // !CHROME_SPLIT_DLL |
| +#endif // !CHROME_MULTIPLE_DLL |
| { |
| // Build command line for renderer. We call AppendRendererCommandLine() |
| // first so the process type argument will appear first. |