| Index: chrome/test/chrome_process_util.cc
|
| ===================================================================
|
| --- chrome/test/chrome_process_util.cc (revision 23431)
|
| +++ chrome/test/chrome_process_util.cc (working copy)
|
| @@ -98,8 +98,20 @@
|
| while ((process_entry = it.NextProcessEntry()))
|
| result.push_back(process_entry->pid);
|
| }
|
| -#endif
|
| +#endif // defined(OS_LINUX)
|
|
|
| +#if defined(OS_MACOSX)
|
| + // On Mac OS X we run the subprocesses with a different bundle, so they end
|
| + // up with a different name, so we have to collect them in a second pass.
|
| + {
|
| + ChildProcessFilter filter(browser_pid);
|
| + base::NamedProcessIterator it(chrome::kHelperProcessExecutableName,
|
| + &filter);
|
| + while ((process_entry = it.NextProcessEntry()))
|
| + result.push_back(process_entry->pid);
|
| + }
|
| +#endif // defined(OS_MACOSX)
|
| +
|
| result.push_back(browser_pid);
|
|
|
| return result;
|
|
|