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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 19572013: reland of http://crrev.com/212230 Create top-level separate targets for... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix delegate dispatch and test gyp deps Created 7 years, 5 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
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 009833db9a39e6725b262877e7561f5fcc9fad12..ea0ac5c22c0317da02c86270e19bd701ae83639a 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -165,6 +165,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 {
@@ -208,6 +210,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
@@ -501,8 +505,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.
+#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
@@ -525,7 +529,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.
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698