Chromium Code Reviews| Index: base/process/launch_posix.cc |
| diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc |
| index 3322d265785246e8076e8ddd9591701f57db7f5c..3b8adf029c278878ebc57803822cf30d54a2c797 100644 |
| --- a/base/process/launch_posix.cc |
| +++ b/base/process/launch_posix.cc |
| @@ -20,6 +20,7 @@ |
| #include <set> |
| #include "base/allocator/type_profiler_control.h" |
| +#include "base/callback.h" |
|
mdempsky
2015/01/07 01:03:50
Not needed anymore.
rickyz (no longer on Chrome)
2015/01/07 01:39:07
Done.
|
| #include "base/command_line.h" |
| #include "base/compiler_specific.h" |
| #include "base/debug/debugger.h" |
| @@ -448,6 +449,12 @@ bool LaunchProcess(const std::vector<std::string>& argv, |
| } |
| #endif |
| +#if defined(OS_POSIX) |
| + if (options.pre_exec_delegate != nullptr) { |
| + options.pre_exec_delegate->RunAsyncSafe(); |
| + } |
| +#endif |
| + |
| for (size_t i = 0; i < argv.size(); i++) |
| argv_cstr[i] = const_cast<char*>(argv[i].c_str()); |
| argv_cstr[argv.size()] = NULL; |