| Index: base/process_util.h
|
| diff --git a/base/process_util.h b/base/process_util.h
|
| index 04c1d88d2b80b244016d57adca68438cb7674085..25d24202272c9cb3413a61db2658e75da2ba6d32 100644
|
| --- a/base/process_util.h
|
| +++ b/base/process_util.h
|
| @@ -138,6 +138,12 @@ enum TerminationStatus {
|
| BASE_EXPORT extern size_t g_oom_size;
|
| #endif
|
|
|
| +#if defined(OS_WIN)
|
| +// Output multi-process printf, cout, cerr, etc to the cmd.exe console that ran
|
| +// chrome. This is not thread-safe: only call from main thread.
|
| +BASE_EXPORT void RouteStdioToConsole();
|
| +#endif
|
| +
|
| // Returns the id of the current process.
|
| BASE_EXPORT ProcessId GetCurrentProcId();
|
|
|
| @@ -832,7 +838,7 @@ BASE_EXPORT malloc_zone_t* GetPurgeableZone();
|
|
|
| // Enables stack dump to console output on exception and signals.
|
| // When enabled, the process will quit immediately. This is meant to be used in
|
| -// unit_tests only!
|
| +// unit_tests only! This is not thread-safe: only call from main thread.
|
| BASE_EXPORT bool EnableInProcessStackDumping();
|
|
|
| // If supported on the platform, and the user has sufficent rights, increase
|
|
|