diff options
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index e16df52..8d62ddb 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -545,7 +545,8 @@ int ChromeMain(int argc, char** argv) { #if defined (OS_MACOSX) // On OS X the renderer sandbox needs to be initialized later in the startup // sequence in RendererMainPlatformDelegate::PlatformInitialize(). - if (process_type != switches::kRendererProcess) + if (process_type != switches::kRendererProcess && + process_type != switches::kExtensionProcess) sandbox_wrapper.InitializeSandbox(parsed_command_line, process_type); #endif // OS_MACOSX @@ -558,6 +559,10 @@ int ChromeMain(int argc, char** argv) { int rv = -1; if (process_type == switches::kRendererProcess) { rv = RendererMain(main_params); + } else if (process_type == switches::kExtensionProcess) { + // An extension process is just a renderer process. We use a different + // command line argument to differentiate crash reports. + rv = RendererMain(main_params); } else if (process_type == switches::kPluginProcess) { rv = PluginMain(main_params); } else if (process_type == switches::kUtilityProcess) { |