| Index: content/app/content_main_runner.cc
|
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
|
| index 5bbdb9b35d81c001374fa3b495ae5430bc16224a..d736a2810fcfce05f950cd78d8034d6583d8a9d2 100644
|
| --- a/content/app/content_main_runner.cc
|
| +++ b/content/app/content_main_runner.cc
|
| @@ -165,7 +165,8 @@ namespace content {
|
|
|
| base::LazyInstance<ContentBrowserClient>
|
| g_empty_content_browser_client = LAZY_INSTANCE_INITIALIZER;
|
| -#if !defined(OS_IOS)
|
| +#if !defined(OS_IOS) && \
|
| + (!defined(CHROME_MULTIPLE_DLL) || defined(CHROME_MULTIPLE_DLL_CHILD))
|
| base::LazyInstance<ContentPluginClient>
|
| g_empty_content_plugin_client = LAZY_INSTANCE_INITIALIZER;
|
| base::LazyInstance<ContentRendererClient>
|
| @@ -292,7 +293,8 @@ class ContentClientInitializer {
|
| content_client->browser_ = &g_empty_content_browser_client.Get();
|
| }
|
|
|
| -#if !defined(OS_IOS)
|
| +#if !defined(OS_IOS) && \
|
| + (!defined(CHROME_MULTIPLE_DLL) || defined(CHROME_MULTIPLE_DLL_CHILD))
|
| if (process_type == switches::kPluginProcess ||
|
| process_type == switches::kPpapiPluginProcess) {
|
| if (delegate)
|
| @@ -406,16 +408,20 @@ int RunNamedProcessTypeMain(
|
| const MainFunctionParams& main_function_params,
|
| ContentMainDelegate* delegate) {
|
| static const MainFunction kMainFunctions[] = {
|
| +#if !defined(CHROME_MULTIPLE_DLL) || defined(CHROME_MULTIPLE_DLL_BROWSER)
|
| { "", BrowserMain },
|
| +#endif
|
| +#if !defined(CHROME_MULTIPLE_DLL) || defined(CHROME_MULTIPLE_DLL_CHILD)
|
| #if defined(ENABLE_PLUGINS)
|
| { switches::kPluginProcess, PluginMain },
|
| { switches::kWorkerProcess, WorkerMain },
|
| { switches::kPpapiPluginProcess, PpapiPluginMain },
|
| { switches::kPpapiBrokerProcess, PpapiBrokerMain },
|
| -#endif
|
| +#endif // ENABLE_PLUGINS
|
| { switches::kUtilityProcess, UtilityMain },
|
| { switches::kRendererProcess, RendererMain },
|
| { switches::kGpuProcess, GpuMain },
|
| +#endif // !CHROME_MULTIPLE_DLL || CHROME_MULTIPLE_DLL_CHILD
|
| };
|
|
|
| for (size_t i = 0; i < arraysize(kMainFunctions); ++i) {
|
|
|