Index: chrome/app/chrome_dll_main.cc |
=================================================================== |
--- chrome/app/chrome_dll_main.cc (revision 10842) |
+++ chrome/app/chrome_dll_main.cc (working copy) |
@@ -55,6 +55,7 @@ |
extern int BrowserMain(const MainFunctionParams&); |
extern int RendererMain(const MainFunctionParams&); |
extern int PluginMain(const MainFunctionParams&); |
+extern int WorkerMain(const MainFunctionParams&); |
#if defined(OS_WIN) |
// TODO(erikkay): isn't this already defined somewhere? |
@@ -370,6 +371,10 @@ |
#if defined(OS_WIN) |
rv = PluginMain(main_params); |
#endif |
+ } else if (process_type == switches::kWorkerProcess) { |
+#if defined(OS_WIN) |
+ rv = WorkerMain(main_params); |
+#endif |
} else if (process_type.empty()) { |
ScopedOleInitializer ole_initializer; |
rv = BrowserMain(main_params); |