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

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

Issue 17619005: Create top-level separate targets for browser and child dlls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android 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 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.
+#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.
« 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