| 198 | // Helper functions to wrap platform differences. |
| 199 | |
| 200 | int32_t CurrentProcessId() { |
| 201 | #if defined(OS_WIN) |
| 202 | return GetCurrentProcessId(); |
| 203 | #elif defined(OS_POSIX) |
| 204 | return getpid(); |
| 205 | #endif |
| 206 | } |
| 207 | |
| 208 | void DeleteFilePath(const PathString& log_name) { |
| 209 | #if defined(OS_WIN) |
no outgoing calls
no test coverage detected